Commit Graph

356 Commits

Author SHA1 Message Date
Kenneth Reitz e0992a9de8 no more setup.py.
Fixes #112
2013-07-23 10:15:38 -04:00
Kenneth Reitz bde5c81994 python-2.7.5 2013-07-16 13:26:52 -04:00
Kenneth Reitz 98e324c4f6 noise 2013-07-11 21:08:34 -04:00
Kenneth Reitz 111a933417 Merge pull request #79 from rochacon/cors
Adding CORS support for all requests
2013-07-10 15:01:56 -07:00
Kenneth Reitz 802b1ea739 cache control /cc @mattrobenolt 2013-07-10 18:00:54 -04:00
Kenneth Reitz 9c8d26dd09 Merge pull request #103 from carsonmcdonald/simpleimageresponse
Add a small image response based on the Accept header.
2013-07-10 14:55:19 -07:00
Carson McDonald c8350ab822 Add a small image response based on the Accept header. 2013-06-26 06:53:13 -04:00
Kenneth Reitz 8a2c32606e Merge pull request #96 from davechallis/master
Added /bytes, /stream-bytes and /links endpoints
2013-06-05 13:04:12 -07:00
Dave Challis 414a719b42 Added endpoints '/bytes/:n', '/stream-bytes/:n' and '/links/:n'.
'/bytes/:n' takes and optional 'seed' integer parameter, and returns n random
bytes of binary data (limited to 100KB in size).

'/stream-bytes/:n' is the same as above, but streams the data.  As well as a
'seed' parameter, it accepts a 'chunk_size' parameter, which determines how
many bytes are in each packet that is streamed.

'/links/:n' generates a page containing n links, each of which links to another
page containing those n links. The value of n is limited to 200.
2013-06-05 17:16:24 +01:00
Kenneth Reitz f37c185b4a Merge pull request #89 from rcarz/master
Added redirect-to endpoint
2013-05-30 13:14:02 -07:00
Bob Carroll 9c7d3269c5 added redirect-to endpoint for testing arbitrary redirects 2013-05-30 11:00:06 -07:00
Kenneth Reitz 35be5e4dfe no 2.0 yet 2013-05-26 09:38:52 -04:00
Kenneth Reitz 4a0c51fb43 updated deps 2013-05-26 09:38:02 -04:00
Kenneth Reitz 8f67f0d87f pypy-2.0 2013-05-20 11:13:51 -04:00
Kenneth Reitz 6419ecd6bd Merge pull request #94 from mattrobenolt/if-none-match
Handle If-None-Match
2013-05-19 12:59:09 -07:00
Matt Robenolt c8db04b97c Also send back Last-Modified and ETag 2013-05-19 12:09:36 -07:00
Matt Robenolt 27e3e7f426 Handle If-None-Match 2013-05-19 11:21:05 -07:00
Kenneth Reitz e76957ff41 Merge remote-tracking branch 'origin/master' 2013-05-19 13:00:19 -04:00
Kenneth Reitz c3b83aaba1 Merge pull request #93 from Lukasa/cache
Add Cache endpoint to the front page.
2013-05-19 10:00:11 -07:00
Cory Benfield d8e71f9d75 Add Cache endpoint to the front page. 2013-05-19 10:43:19 +01:00
Kenneth Reitz c08006b8b2 cleaner 2013-05-17 09:08:01 +02:00
Kenneth Reitz b26da5ebdf postbin, reorder 2013-05-17 09:07:18 +02:00
Kenneth Reitz fdb508c5d1 Merge pull request #90 from Lukasa/cache
Add basic Cache endpoint.
2013-05-17 00:04:09 -07:00
Kenneth Reitz 8fb9293516 Merge pull request #92 from johnsheehan/master
Minor tweaks :)
2013-05-17 00:01:02 -07:00
John Sheehan 4dadd46dca add sponsorship link and update postbin link to requestbin 2013-05-16 23:58:30 -07:00
Kenneth Reitz a3c6f2402e Merge remote-tracking branch 'origin/master' 2013-05-17 08:55:08 +02:00
Cory Benfield a9dca7398c Add basic Cache endpoint. 2013-05-11 09:55:35 +01:00
Kenneth Reitz 6404ca3f9b typo 2013-04-26 18:03:34 -04:00
Kenneth Reitz d576f1891a and EU 2013-04-26 17:57:24 -04:00
Kenneth Reitz 7c96875e87 Merge pull request #88 from johnsheehan/master
Remove broken hurl.it links and add /patch to list of available endpoints
2013-04-26 10:53:45 -07:00
John Sheehan 045bc762c8 remove broken hurl.it links and add patch to list of available endpoints 2013-04-26 10:07:24 -07:00
Rodrigo Chacon e3cd47d0e2 Use header Origin in response headers when available
Since the RFC [1] doesn't allow wildcards for credentialed requests,
add the requested Origin into the response headers.

[1] https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS#Requests_with_credentials
2013-04-24 19:33:18 -03:00
Rodrigo Chacon 3f45aba2af Hardcoding cache 2013-04-24 19:33:18 -03:00
Rodrigo Chacon faf559dcf5 Removing redundancy 2013-04-24 19:33:18 -03:00
Rodrigo Chacon 50ddd78b89 PEP8 2013-04-24 19:33:18 -03:00
Rodrigo Chacon 11a8c78aa5 Adding support for preflight request headers
Just as stated in http://www.w3.org/TR/cors/#preflight-request, we must return some extra headers when dealing with preflight (HTTP OPTIONS method) requests.
2013-04-24 19:33:18 -03:00
Rodrigo Chacon 61bed33f24 Adding CORS support for all requests 2013-04-24 19:33:18 -03:00
Rodrigo Chacon 98ed28b547 Merge remote-tracking branch 'upstream/master' 2013-04-24 19:32:55 -03:00
Kenneth Reitz be67845201 ip address 2013-04-23 22:23:40 -04:00
Kenneth Reitz d992e07e13 no runtime 2013-04-23 20:53:11 -04:00
Kenneth Reitz 227901aa80 pypy 2013-03-10 19:00:39 -04:00
Kenneth Reitz 1b6b615286 6 workers 2013-03-10 18:45:43 -04:00
Kenneth Reitz 6040a4a896 Merge pull request #67 from senko/showenv-doc
README: add https + show_env example
2013-01-27 01:51:46 -08:00
Kenneth Reitz 278901314a Merge pull request #63 from snh/cookiedelete
New delete cookie endpoint.
2013-01-27 01:51:26 -08:00
Kenneth Reitz 812befc72b PATCH again! 2013-01-21 08:05:32 -05:00
Kenneth Reitz d0de69445d python-2.7.3 2013-01-02 20:48:51 -05:00
Kenneth Reitz 44658438f5 test 2013-01-02 20:37:38 -05:00
Kenneth Reitz 2549e7068b newline 2013-01-02 20:36:38 -05:00
Kenneth Reitz 0742c08553 runtime 2013-01-02 20:32:21 -05:00
Kenneth Reitz 440b25c822 2.7.3 2013-01-01 13:12:00 -05:00