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
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
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
Felix Palta
ec17414e94
Enable test cases for Digest auth requests with or without body
...
When quality-of-protection (qop) is 'auth-int', the hash of request body is used to create digest response.
2016-12-04 00:25:42 +03:00
Felix Palta
9816125df3
Add test for different combinations of digest auth parameters
2016-12-04 00:17:03 +03:00
Felix Palta
ada6bd1508
Check response status code in test_digest_auth_with_wrong_password()
2016-12-03 23:34:00 +03:00
Felix Palta
f198dab947
Add test implementation for Digest authentication
...
It can be used for testing of all available combinations of qop (auth/auth-int/not specified) and algorithms (MD5, SHA-256).
2016-12-03 23:31:08 +03:00
Felix Palta (office)
cc2fc5ea14
Pass algorithm parameter to H()
...
This fixes error 500 on digest-auth test with qop='auth-int' (#307 )
2016-10-19 16:04:37 +03:00
zhulongcheng
ce328618d8
remove unused variable form from helpers.get_dict ( #304 )
2016-10-04 08:48:08 -05:00
Jeroen Ooms
f30e81eeeb
advertise HTTP/2 mirror ( #303 )
2016-09-28 11:09:00 -05:00
Daniel Stender
440e2a525d
use io.open() for long_description from file ( #299 )
2016-08-18 11:09:26 -05:00
Ian Cordasco
3f417eb818
Add changelog notes for 0.5.0
2016-08-15 06:29:57 -05:00
Ian Cordasco
0717fae1bb
Fix template usage of url_for("digest_auth", ...)
2016-08-11 05:47:09 -05:00
Ian Cordasco
9259ce0136
Bump version to 0.5.0
...
Hopefully we can get a release out on Monday
2016-08-10 19:49:47 -05:00
Ian Cordasco
6f5d34f730
Merge branch 'master' of https://github.com/Jaaap/httpbin into digest-auth-sha256
...
Conflicts:
httpbin/templates/httpbin.1.html
2016-08-10 19:47:51 -05:00
Ian Cordasco
c5015170b2
Merge branch 'master' of https://github.com/mansilladev/httpbin into drip-limit
...
Conflicts:
README.rst
2016-08-10 19:43:46 -05:00
Ian Cordasco
eacc7ac58d
Update documentation with new redirect-to examples
...
redirect-to now allows for a status_code parameter. This updates the
index page and README to reflect that appropriately.
2016-08-10 06:51:17 -05:00