John Sheehan
b226607c19
Merge branch 'msabramo-GH-168'
2014-12-22 16:22:47 -08:00
John Sheehan
5858e3d434
Merge branch 'GH-168' of https://github.com/msabramo/httpbin into msabramo-GH-168
2014-12-22 16:21:21 -08:00
John Sheehan
6930f8225d
Merge pull request #160 from rictic/master
...
Send an explicit Content-Length header with /drip/
2014-12-22 16:19:10 -08:00
Marc Abramowitz
24dadf082c
GH-168: Add newline to end of page
...
Fixes GH-168
2014-12-22 16:18:12 -08:00
John Sheehan
6dc5270b57
Merge pull request #158 from derflocki/wp-allow-headers
...
support Access-Control-Request-Headers
2014-12-22 16:15:05 -08:00
John Sheehan
f62305569c
Merge pull request #166 from shurane/patch-1
...
Show way to run httpbin as a python module.
2014-12-22 15:52:52 -08:00
John Sheehan
21782f94ef
more meta updates
2014-12-22 15:42:08 -08:00
John Sheehan
0cdfb9e42b
readme update
2014-12-22 15:34:45 -08:00
John Sheehan
156525fe31
Merge branch 'master' of github.com:Runscope/httpbin
2014-12-22 15:29:07 -08:00
John Sheehan
54873992c9
Merge pull request #171 from msabramo/GH-162
...
GH-162: No 500 w/ better handle missing dict keys
2014-12-22 15:22:56 -08:00
John Sheehan
3031459c05
Merge pull request #177 from mrkd/master
...
Update template to fix deploy to Heroku button
2014-12-22 15:22:11 -08:00
John Sheehan
8c11ed9883
Merge pull request #172 from msabramo/GH-125
...
GH-125: Support multiple headers with same key
2014-12-22 15:21:40 -08:00
John Sheehan
64aa956ad1
Merge pull request #170 from msabramo/patch-1
...
Imports; remove dup base64, alpha sort
2014-12-22 15:20:19 -08:00
Mark Norgren
79d62dbaef
Update httpbin.1.html
2014-12-15 15:47:12 -06:00
Frank Stratton ☺
562e687cae
Merge pull request #176 from mrkd/master
...
Update Readme for Deploy to Heroku button fix
2014-12-15 13:35:24 -08:00
Mark Norgren
bf09ea0f5a
Update Readme for Deploy to Heroku button fix
2014-12-15 15:25:13 -06:00
Frank Stratton ☺
d322745f75
Merge pull request #175 from sigmavirus24/patch-1
...
Update repository URL in app.json
2014-12-15 13:12:33 -08:00
Ian Cordasco
a9cfa4452e
Update repository URL in app.json
...
Fixes #174
2014-12-15 14:21:19 -06:00
John Sheehan
9757efe604
add runscope trackign
2014-12-10 13:56:13 -08:00
John Sheehan
e480818ab4
move tracking scripts into separate file
2014-12-09 15:20:51 -08:00
Marc Abramowitz
941033ddd2
GH-125: Support multiple headers with same key
...
Fixes: GH-125
2014-11-29 06:19:30 -08:00
Marc Abramowitz
3c40fab03b
GH-162: No 500 w/ better handle missing dict keys
2014-11-29 00:06:19 -08:00
Marc Abramowitz
ef9c3948e8
Imports; remove dup base64, alpha sort
2014-11-28 16:36:42 -08:00
Ehtesh Choudhury
1fce5f6a20
Show way to run httpbin as a python module.
...
It's already there, may as well mention how to run httpbin without gunicorn.
2014-11-04 12:01:51 -05:00
Peter Burns
5021b420ef
Send an explicit Content-Length header with /drip/
...
It's useful for testing tools which track the progress of a request to know
the content length ahead of time.
Test included. I've verified that the new tests do fail without this change,
response.content_length is None if an explicit Content-Length isn't set.
2014-09-18 16:03:19 -07:00
derflocki
4554150ff9
got rid of unnecessary .get call
2014-09-11 20:24:10 +02:00
derflocki
e68741e131
cleaned up
2014-09-10 08:20:51 +02:00
derflocki
43ced62b44
support Access-Control-Request-Headers
2014-09-09 21:26:25 +02:00
Kenneth Reitz
128bc1b986
deploy to heroku button
2014-08-26 17:08:43 -04:00
Kenneth Reitz
23175ad162
app.json
2014-08-26 16:55:53 -04:00
Kenneth Reitz
ba6e6d1293
Merge remote-tracking branch 'origin/master'
2014-08-26 16:52:53 -04:00
kennethreitz
93f83e1771
Merge pull request #154 from ivanjr0/master
...
drip endpoint: adding custom status support
2014-08-19 12:36:21 -04:00
Ivan Júnior
24025f4a61
drip endpoint: adding custom status support
2014-08-08 18:10:01 -03:00
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