Commit Graph

736 Commits

Author SHA1 Message Date
kennethreitz 0d7f363f63 Docker updates (#452)
* docker optimizations

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* port 80

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* no web concurrency

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* docker compose

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* v0.8.0

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 17:57:51 -05:00
kennethreitz d2da2f74ef switch runscope with heroku
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-09 06:58:16 -04:00
kennethreitz 54e08a850f gevent
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-09 06:36:00 -04:00
kennethreitz e543380675 remove raven
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-09 06:30:24 -04:00
kennethreitz d99bb0d267 remove sentry support
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-09 06:29:58 -04:00
kennethreitz 581e22ac3e six
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-09 06:26:52 -04:00
kennethreitz 2240bbf763 runtime.txt
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-09 06:23:16 -04:00
Ian Stapleton Cordasco 2607b7e6c7 Release v0.7.0 2018-05-08 06:59:56 -05:00
Ian Stapleton Cordasco 2267669c82 Merge pull request #444 from javabrett/patch-2
setup.py - fixed url following relocation to 'requests' org.
2018-05-06 13:47:13 -05:00
Ian Stapleton Cordasco 7a50a02ec8 Merge pull request #447 from javabrett/442-remove-flask-common
Removed Flask-Common. Fixed #442.
2018-05-06 07:20:11 -05:00
Brett Randall e987ecffa8 Removed Flask-Common. Fixed #442. 2018-05-06 14:29:29 +10:00
Brett Randall b298b3cf32 setup.py - fixed url following relocation to 'requests' org. 2018-05-02 20:32:57 +10:00
Nate Prewitt f22f72a8fb Merge pull request #443 from javabrett/patch-1
Fixed Travis Build Status URL post relocation to requests org.
2018-05-01 23:53:45 -07:00
Brett Randall bef4d061ff Fixed Travis Build Status URL post relocation to requests org. 2018-05-02 15:05:23 +10:00
Nate Prewitt bb4b335e46 Merge pull request #438 from 10se1ucgo/patch-1
Fix incorrect /range/ error response
2018-04-15 20:22:47 -07:00
10se1ucgo cae4b919a8 Fix incorrect /range/ error response
100kb == 102400, was missing a trailing 0.
2018-04-15 19:17:47 -04:00
Ian Stapleton Cordasco 8a06b19d43 Merge pull request #436 from moul/patch-1
Add grpcb.in in SEE ALSO
2018-04-04 10:40:27 -05:00
Manfred Touron 387d707bd1 Add grpcb.in in SEE ALSO
(I'm the author)
2018-04-04 14:39:18 +02:00
kennethreitz 03888871b8 procfile 2018-03-20 09:39:43 -04:00
kennethreitz 18f0154d0c pipfile lock 2018-03-20 09:36:17 -04:00
kennethreitz 90cc5cc641 Merge pull request #433 from jbogers/master
Return ETag header with 304 response
2018-03-20 09:26:13 -04:00
Jeroen Bogers a154cd1512 Return ETag header with 304 response
RFC 7232, section 4.1 specifies that when returning a 304 status code the
ETag header must also be included if it would have been sent in a 200 (OK)
response.
2018-03-20 14:12:06 +01:00
Ian Stapleton Cordasco ad6f6d1214 Merge pull request #426 from tmack8001/add-base64-to-index
document decode_base64 endpoint /base64/:value on the index.html
2018-02-07 06:53:49 -06:00
Trevor Mack f4182b868a document the decode_base64 endpoint /base64/:value on the index.html page 2018-02-05 10:11:39 -08:00
Ian Stapleton Cordasco 07418017b2 Merge pull request #424 from kennethreitz/check_auth_header
Send digest-auth challenge for wrong Authorization header
2018-02-03 08:50:41 -06:00
Nate Prewitt 82d7408267 send digest-auth challenge if wrong authorization type sent 2018-01-31 23:47:52 -08:00
Ian Stapleton Cordasco 96c5e71c8e Merge pull request #425 from kennethreitz/remove_content_type_check
Remove test for empty Content-Type
2018-01-30 09:15:27 -06:00
Nate Prewitt 75c83178c1 Remove test for empty Content-Type
Werkzeug 14.0.0 introduced new behaviour stripping falsey
values from being included in EnvironHeaders.
2018-01-28 18:59:44 -08:00
kennethreitz bec4514992 Merge pull request #414 from graingert/patch-1
s/explicityly/explicitly/
2017-12-18 11:49:33 -05:00
Thomas Grainger bb95fe610a s/explicityly/explicitly/ 2017-12-18 16:13:05 +00:00
kennethreitz f6c98bd4b8 Merge pull request #386 from vanillajonathan/patch-1
Add endpoint for Bearer authentication
2017-12-18 11:09:18 -05:00
kennethreitz c0f5f0a57f Merge pull request #405 from javabrett/support-chunked-340
Added support for chunked encoded requests when running gunicorn. #340
2017-12-18 11:08:18 -05:00
kennethreitz c2a332d9bd Merge pull request #410 from kennethreitz/bug/403
Limit python setup.py test to our tests
2017-12-18 11:07:26 -05:00
Ian Stapleton Cordasco 6fd0adba84 Include tests in package 2017-12-09 19:12:41 -06:00
Ian Stapleton Cordasco 6216041859 Limit python setup.py test to our tests
Tell unittest.discover specifically what to look for instead of letting
them scan the entirety of our directory (which could have other
dependencies downloaded with their tests that will fail).

Closes #403
2017-12-09 09:06:02 -06:00
Brett Randall ec79fee28a Dropped logger-warning for input_terminated to debug. 2017-12-01 09:06:50 +11:00
Brett Randall 9e9cb84724 Added support for chunked encoded requests when running gunicorn. Fixed #340.
In this commit:

- when we see a Transfer-Encoding: chunked request, and the server is gunicorn,
  we set environ wsgi.input_terminated, which is required by Werkzeug in the
  absence of Content-Lenght, or it will empty the data stream.
- for chunked requests to non-gunicorn, return 501 Not Implemented.
2017-12-01 09:06:50 +11:00
kennethreitz 260ee9b431 Merge pull request #406 from javabrett/patch-1
Added a Travis build-status image
2017-11-28 10:06:52 -06:00
Brett Randall 76cb701e9b Added a Travis build-status image 2017-11-28 16:44:46 +11:00
Ian Stapleton Cordasco 5b9bb956ba Merge pull request #404 from javabrett/tox-py36
Updated tox and Travis to use py36.
2017-11-27 07:09:06 -06:00
Brett Randall d2ca5e0b8a Updated tox and Travis to use py36.
- Added a matrix config to Travis to align tox an travis environments.
- Locked dist to trusty
2017-11-27 12:06:06 +11:00
Nate Prewitt 194df2e828 Merge pull request #401 from linuxlizard/master
add SHA-512 authentication
2017-11-19 09:22:56 -08:00
David Poole f0f3da7b52 add SHA-512 authentication 2017-11-19 08:42:09 -07:00
kennethreitz d9678dac45 Merge pull request #399 from AdamWill/no-flask-limiter
Don't require flask-limiter
2017-11-17 08:45:24 -05:00
Adam Williamson 8bc97fde62 Don't require flask-limiter
The rate limiting code has been ping ponged several times, but
currently it's not there, so there is no reason to require
flask-limiter.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-11-16 19:45:08 -08:00
Ian Stapleton Cordasco 75aca52834 Merge pull request #391 from vanillajonathan/patch-3
Use the algorithm parameter
2017-10-19 07:50:18 -05:00
Ian Stapleton Cordasco 24d80ffed7 Bump version to 0.6.2 2017-10-19 07:19:03 -05:00
Ian Stapleton Cordasco 74c25ca993 Merge pull request #392 from kennethreitz/bug/380
Add back fake cookie and make requiring it conditional
2017-10-17 07:49:39 -05:00
Ian Stapleton Cordasco 1bf7a6f23b Add back fake cookie and make requiring it conditional
Our digest auth endpoint will once again return a fake cookie but will
only require it if the query-string parameter `require-cookie` is
present.

Further, this fixes a bug in the digest auth implementation in httpbin
where we were only considering the path portions of the request-uri in
the specification. RFC 7230 is very clear that the request-uri includes
the query-string if it is present which means it is necessary in our
digest auth handling.
2017-10-15 10:06:04 -05:00
Jonathan 29f6bbb683 Use the algorithm parameter 2017-10-11 18:39:31 +02:00