Kevin McCarthy
dcb6f7ded6
bump version
2014-06-08 18:04:22 -10:00
Kevin McCarthy
7e2214ce14
fix byte streaming endpoint in python3
2014-06-08 17:49:58 -10:00
Kevin McCarthy
16d6fea9b8
Fix bytes endpoint in python3
2014-06-08 17:49:58 -10:00
Kevin McCarthy
32c842f06f
Fix bug that was causing POSTs missing a content-type header to 500
...
Closes #141
2014-06-05 18:00:52 -10:00
Kevin McCarthy
a109bbbe29
Include Templates and Bump Version to 0.1.1
...
I forgot to include the templates in setup.py, so httpbin would complain
and return a 500 when accessing views that require templates. This
fixes that problem by adding them as "data" in setup.py and MANIFEST.in
2014-06-01 12:08:32 -10:00
Kevin McCarthy
9074c32030
Add setup.cfg since we are a univeral package
...
For more see http://pythonwheels.com/
2014-06-01 12:08:32 -10:00
kennethreitz
8c9922de87
Merge pull request #138 from matt-hickford/patch-1
...
Delete spurious empty file `...`
2014-05-30 13:45:43 -04:00
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
Matt Hickford
c4af210531
Delete spurious empty file ...
...
Delete spurious empty file `...`. It was causing me trouble cloning this repo on Windows.
> error: unable to create file httpbin/templates/... (Is a directory)
> fatal: unable to checkout working tree
> warning: Clone succeeded, but checkout failed.
> You can inspect what was checked out with 'git status'
> and retry the checkout with 'git checkout -f HEAD'
2014-05-29 22:18:56 +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