Commit Graph

366 Commits

Author SHA1 Message Date
Kenneth Reitz abcc77ce7a index update 2014-03-12 12:17:55 -04:00
Kenneth Reitz 71ddbfe445 further updates to the index 2014-03-12 12:15:53 -04:00
Kenneth Reitz 4fe5211a1c update drip HTML link 2014-03-12 12:13:39 -04:00
Kenneth Reitz cb3cb811a8 Merge branch 'master' of heroku.com:httpbin 2014-03-12 12:05:33 -04:00
kennethreitz 2b01501a47 Merge pull request #127 from gruns/master
Add /drip, which drips data over a duration after an optional initial delay.
2014-03-12 12:00:37 -04:00
grun 07b0d1dce2 Add /drip, which drips data over a duration after an optional initial delay. 2014-02-28 01:48:27 -08:00
Kenneth Reitz c97819b971 try gevent 2014-01-07 16:23:13 -05:00
Kenneth Reitz 180283a60a Merge pull request #110 from sigmavirus24/add_cookie_header_to_digest_auth
Send/require a cookie header on digest-auth
2013-08-01 19:04:47 -07:00
Kenneth Reitz f8127cb7cd #113 2013-07-24 09:15:21 -04:00
Kenneth Reitz e0992a9de8 no more setup.py.
Fixes #112
2013-07-23 10:15:38 -04:00
Ian Cordasco 4870f70c0d Send/require a cookie header on digest-auth
Also fix an import.
2013-07-19 15:48:44 -05: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