kennethreitz
5f03bba84c
md
2017-03-16 20:13:47 -04:00
kennethreitz
7263b9ae97
readme
2017-03-16 20:11:18 -04:00
kennethreitz
7f9e21d6ac
image
2017-03-16 20:10:01 -04:00
kennethreitz
17ecce689d
more info
2017-03-16 20:08:40 -04:00
kennethreitz
c81d030899
httpbin
2017-03-16 20:08:07 -04:00
kennethreitz
6646c516d1
simplify
2017-03-16 20:07:39 -04:00
kennethreitz
da301be0fe
trying
2017-03-16 20:07:09 -04:00
kennethreitz
e9f4e3cba3
that's it
2017-03-16 20:06:20 -04:00
kennethreitz
00b8162f19
really simplify
2017-03-16 20:05:47 -04:00
kennethreitz
0a8adb664c
simplify
2017-03-16 20:04:14 -04:00
kennethreitz
5a9722b9c0
shrinking
2017-03-16 20:03:18 -04:00
kennethreitz
288f803892
see if this works
2017-03-16 20:02:30 -04:00
kennethreitz
6e9ae8bb07
fix readme
2017-03-16 20:01:59 -04:00
kennethreitz
fb6d2f745f
simplify readme
2017-03-16 20:00:36 -04:00
kennethreitz
017810bcbd
see if this fixes it
2017-03-16 19:59:26 -04:00
kennethreitz
519196d5ab
fix failing test
2017-03-16 19:56:09 -04:00
kennethreitz
01ff7a088a
fix
2017-03-16 19:51:06 -04:00
kennethreitz
673495bab3
remove links to http2bin, since it's down
2017-03-16 19:49:22 -04:00
kennethreitz
5eb1817282
migrate to pipfile
2017-03-16 16:35:24 -04:00
kennethreitz
41e25c5d66
copyright
2017-03-16 15:55:22 -04:00
kennethreitz
5c8f5c43e7
Merge branch 'master' of https://git.heroku.com/httpbin-org
2017-03-16 15:52:25 -04:00
kennethreitz
cbbb1710e0
a kennethreitz project
2017-03-16 15:52:10 -04:00
Cory Benfield
c916b2197e
Brotli content-encoding renamed to 'br'.
...
See https://bugzilla.mozilla.org/show_bug.cgi?id=1211916
2017-03-15 08:43:42 +00:00
Cory Benfield
dfed4ad635
Add basic do-almost-nothing Brotli endpoint test
2017-03-15 08:43:42 +00:00
Cory Benfield
b2bec66dc9
Add a Brotli endpoint.
2017-03-15 08:42:34 +00:00
kennethreitz
d5150ddb6d
empty commit
2017-03-14 17:21:18 -04:00
kennethreitz
e5d7751a33
Merge branch 'master' of https://git.heroku.com/httpbin-org
2017-03-14 17:14:13 -04:00
kennethreitz
db56addd69
don't specify gunicorn workers
2017-03-14 17:14:04 -04:00
kennethreitz
3282bb2544
a kenneth reitz production
2017-03-14 17:13:41 -04:00
kennethreitz
4943ec43e2
update python version
2017-03-14 17:13:41 -04:00
kennethreitz
65e6a05d0b
Merge pull request #319 from puiterwijk/fix-response
...
Use Response.data with older Werkzeug versions
2017-03-14 17:10:56 -04:00
kennethreitz
6290e0414a
Merge pull request #332 from andrewgaul/endpoints
...
Add missing endpoints to README
2017-03-14 17:10:14 -04:00
kennethreitz
b4b890206a
empty commit
2017-03-14 17:00:32 -04:00
Andrew Gaul
e00443ad15
Add missing endpoints to README
2017-03-14 11:02:46 -07:00
Ian Cordasco
3fe84ea476
Merge pull request #330 from kingslef/fix/500-invalid-status-code
...
status/code: fix error 500 on invalid status code
Closes #329
2017-02-19 08:39:39 -06:00
Tuomas Lappeteläinen
451a835c14
README: add a note that /status/code supports multiple codes
2017-02-19 16:01:32 +02:00
Tuomas Lappeteläinen
94e64b4598
status/code: return 400 on invalid status code
...
Request such as `/status/4!9` caused a `ValueError` exception when
trying to cast the status to an int. Now the client is greeted with
`400` and a body of `Invalid status code`.
Fixes #329 .
2017-02-19 16:00:59 +02:00
Ian Cordasco
a22fc1fb65
Merge pull request #325 from andrewgaul/clarify-image-endpoints
...
Clarify image endpoints
2017-01-21 07:59:03 -06:00
Ian Cordasco
39878e8689
Merge pull request #326 from andrewgaul/readme
...
Correct display of endpoints
2017-01-21 07:52:52 -06:00
Andrew Gaul
0d60c576da
Correct display of endpoints
...
Over-long line added in eacc7ac58d
prevents GitHub display of table.
2017-01-19 17:46:36 -08:00
Andrew Gaul
08e979116f
Clarify image endpoints
...
These do not return HTML pages with a link to an image, they return
images.
2017-01-19 12:58:50 -08:00
Patrick Uiterwijk
512fbbd610
Use Response.data with older Werkzeug versions
...
Response.get_data did not exist in older versions of Flask/Werkzeug,
and is even now not documented.
This will make httpbin work with either the new version where it does
exist, and the older versions where it doesn't.
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2016-12-30 21:07:48 +00:00
Adam Ginsburg (keflavich)
b4677d7466
should return content-length when requesting range, and that
...
content-length should be the range specified in the url (i.e.,
range/1024 has length 1024)
2016-12-24 13:41:52 -07:00
Felix Palta
62fbdd8c11
Check numbytes parameter before initial delay
2016-12-04 23:54:05 +03:00
Felix Palta
bba7dd8ee4
Add test for drip with invalid numbytes parameter
2016-12-04 23:46:00 +03:00
Felix Palta
8609b0a1db
Fix divide by zero error in drip
...
It occured when 'numbytes' parameter was set to 0. In this case 'drip' should return 400('Bad request').
2016-12-04 23:45:55 +03:00
Ian Cordasco
cff242d46f
Merge pull request #308 from felixpalta/Runscope-GH-307-fix-digest-auth-int
...
GH-307 Fix error 500 on digest auth with qop='auth-int'
2016-12-04 14:38:48 -06:00
Felix Palta
e7e9163625
Encode HA2() string parameters 'method', 'uri' and 'H(entityBody)'
...
This fixes error 500, when httpbin is run with python3 and digest-auth is attempted with qop='auth-int'.
2016-12-04 21:58:11 +03:00
Felix Palta
45058da872
Minor refactoring of _test_digest_auth
...
Instead of joining encoded (binary) strings, join unicode strings first, then encode result, which leads to shorter and clearer code.
2016-12-04 21:31:52 +03:00
Felix Palta
562a60bc23
Update comments, minor fixes
2016-12-04 00:41:02 +03:00