Commit Graph

387 Commits

Author SHA1 Message Date
kennethreitz beae3f49c8 Merge pull request #139 from matt-hickford/forms
Add endpoint /forms/post with simple HTML form that submits to /post
2014-05-30 13:40:35 -04:00
Matt Hickford 045f0f8843 Add endpoint /forms/post with simple HTML form that submits to /post 2014-05-29 23:11:25 +01:00
kennethreitz 8da97c43b7 Merge pull request #137 from kevin1024/master
Python3 Support
2014-05-27 13:13:00 -04:00
Kevin McCarthy 940cb7b152 Add Tox
Tox is a utility that helps you test on different versions of Python.
2014-05-25 19:44:10 -10:00
Kevin McCarthy 431acaabf7 Add a setup.py
This allows tox to run, and allows me to install httpbin as a depenency
(see #136)
2014-05-25 19:44:10 -10:00
Kevin McCarthy 782a3411a7 Add Python3 Support
I mostly just added a bunch of encoding, especially around the HTTP
Digest Auth stuff.  This commit also adds six as a dependency.
2014-05-25 19:44:07 -10:00
Kenneth Reitz f2ab4f2d31 ready for prime time 2014-05-16 10:40:16 -04:00
Kenneth Reitz ee72c8547b no more deflate 2014-05-16 10:36:21 -04:00
Kenneth Reitz 61f8a1cfe5 updated deps
related to #121
2014-05-16 10:35:56 -04:00
kennethreitz 937d23779e Merge pull request #121 from ksato9700/flask_010
Update components to the latest ones
2014-05-16 10:24:00 -04:00
kennethreitz 82d4e2ac2f Merge pull request #123 from barnash/master
added support for multiple files echo
2014-05-16 10:23:41 -04:00
Kenneth Reitz 2be99dffa0 Merge remote-tracking branch 'origin/master' 2014-05-16 10:20:47 -04:00
kennethreitz 623952d401 Merge pull request #129 from barunsthakur/master
Add /deflate endpoint
2014-05-16 10:20:43 -04:00
Kenneth Reitz 00810d6d71 no manage.py 2014-05-16 10:19:32 -04:00
kennethreitz 02918f49bb Merge pull request #135 from miikka/get-with-multiple-args
Allow /get with multiple values for the same key
2014-05-16 10:18:20 -04:00
Miikka Koskinen e70b0e425b Allow /get with multiple values for the same key
/get now returns a list of values if there were more than one value for
the same key in the query sting. This mirrors the behavior of /post with
form fields.

Fixes #134.
2014-05-15 20:07:54 +03:00
kennethreitz f15fcc1512 Merge pull request #131 from zeke/master
add app.json
2014-04-23 23:21:27 -04:00
zeke 29423a30a5 add app.json 2014-04-23 20:11:01 -07:00
Barun 6080ca1fc8 Add /deflate endpoint
returns response with deflate encoded body(Content-Encoding='deflate').
2014-03-19 21:07:11 +05:30
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
Iftach Bar de681cb426 added support for multiple files echo 2013-11-24 11:50:01 +02:00
Ken Sato 55b1e1b954 update components to the latest ones 2013-11-02 12:07:35 +09: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