Kenneth Reitz
e64686bc6f
ordered
2014-07-22 14:59:12 -04:00
Kevin McCarthy
f01e53a9fc
Bump Version for Release
2014-07-06 10:34:45 -10:00
Kevin McCarthy
540b414490
Try to decode bytestrings from UTF8 in json_safe
...
Closes #148
2014-07-06 10:27:17 -10:00
Kevin McCarthy
320e994c30
Add Access-Control-Allow-Credentials to All
...
If you do a "simple" request, there will be no CORS preflight
OPTIONS request. That means that Basic auth will fail over
CORS. This adds the header to all requests, fixing the problem.
Closes #122
2014-06-21 15:51:24 -10:00
Kevin McCarthy
f6d708ebe5
Check X-Forwarded-Proto when returning the url
...
Closes #31
2014-06-21 14:16:42 -10:00
Kevin McCarthy
5ee70566ec
Fix Digest Auth to Return Correct Header
...
Digest Auth was returning the wrong header when a login attempt failed.
Closes #133
2014-06-21 13:58:36 -10:00
Kevin McCarthy
28482bb521
Regenerate index page from README
2014-06-21 13:19:41 -10:00
Kevin McCarthy
3a530fc5f1
Update README
...
* Remove hurl.it URLs, they appear to be broken
* Update link to kennethreitz.org, it was broken
* Add new endpoints
* Add link to Runscope
* Add link to EU version
* Add link to Postbin
2014-06-21 13:18:56 -10:00
Kevin McCarthy
f3f136581a
pep8 cleanup on tests
2014-06-21 12:48:00 -10:00
Kevin McCarthy
e87899dd43
Add XML endpoint to index
2014-06-21 12:36:10 -10:00
Kevin McCarthy
745f9b5009
Add test for XML endpoint
2014-06-21 12:34:22 -10:00
John Sheehan
64d10cba0e
Add xml endpoint
2014-06-21 12:34:06 -10:00
Kevin McCarthy
b2cb8678f3
Status Endpoint should Accept All HTTP Verbs
...
Closes #32 (again)
2014-06-21 12:16:00 -10:00
Kevin McCarthy
2593a8ab67
Add form and files to DELETE Endpoint
...
The DELETE endpoint was missing form and files, so if you hit the
endpoint with data in the envelope and a Content-Type header set to
application/x-www-form-urlencoded, the data will disappear. Since RFC
2731 doesn't disallow content in the body of a DELETE request, let's
allow that data to pass through
Closes #143
2014-06-21 11:53:44 -10:00
Kevin McCarthy
0c44ec9233
Restore random seed function for byte endpoints
...
os.urandom() ignores random.seed(), so I'm restoring the use of
random.randint in a python3 compatible way.
2014-06-08 22:09:25 -10:00
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