Commit Graph

682 Commits

Author SHA1 Message Date
Kevin McCarthy 672f3472ed Revert "chunked encoding"
This reverts commit 2e94212886.

This didn't fix the problem, and caused other issues when using werkzeug
to execute httpbin, so let's remove it.  See also: #340
2017-08-27 09:10:34 -10:00
kennethreitz cf68882552 uuid4 2017-08-26 14:26:49 -04:00
kennethreitz 1cfd39b74c Merge pull request #379 from chassing/master
bump version to 0.6.0
2017-08-25 14:48:00 -04:00
Christian Assing f64502eb4e bump version to 0.6.0
all lot of changes since June 2016
2017-08-25 20:33:33 +02:00
kennethreitz b5466a026a btc
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-08-20 20:46:36 -04:00
kennethreitz 0167fd01be coins
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-08-20 20:38:07 -04:00
kennethreitz 2e94212886 chunked encoding
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-08-04 19:41:05 -04:00
kennethreitz 6f6b824745 Merge pull request #366 from MarekR22/DigestStaleScenerio
Digest authentication and expiried nonce - stale=true scenerio
2017-08-04 19:33:29 -04:00
kennethreitz 2f41299565 Merge pull request #368 from OndrejIT/docker
Update dockerfile
2017-07-27 16:13:14 -04:00
kennethreitz 780ad83a81 Merge pull request #369 from macheins/extend-anything
Allow all methods on /anything
2017-07-27 16:12:32 -04:00
macheins 6274e0999f Allow all methods on /anything 2017-07-19 13:57:17 +02:00
Ondřej Bárta 650f829b2c Update dockerfile 2017-07-18 20:02:06 +02:00
Ian Stapleton Cordasco 5b3a5380dd Merge pull request #367 from fanofxiaofeng/patch-1
each 'id' should only appear once
2017-07-14 06:01:44 -05:00
靳阳 fdda7bc714 each 'id' attribute should only appear once
h2 tag in line 5 and line 11 both have id 'ENDPOINTS', I suppose the h2 tag in line 5 has a wrong id.
2017-07-14 12:59:20 +08:00
Marek Ruszczak 84edf61ad6 Split and strip qop. 2017-07-09 19:26:01 +02:00
Marek Ruszczak 477721960c Add test for wrong password and expired (reused) nonce value 2017-07-08 11:27:26 +02:00
Marek Ruszczak 7e8015237d Add test to verify „stale after” scenario 2017-07-08 10:59:21 +02:00
Marek Ruszczak 0c968cbd35 Refactor digest_auth test to be able add missing test cases in next commits 2017-07-06 23:24:44 +02:00
Marek Ruszczak 8f93e11699 Improve when stale is reported
- when authentication fails cookie „last_nonce” is set, this cookie is used to check that next
  authentication is not used for next authentication attempt. If it is challenge response is send
  with stale=true flag.
2017-07-06 08:14:03 +02:00
Marek Ruszczak 791e31cba4 Move stale functionality to main digest url
- now digest url will contain number of request after which request with proper credentials
  will be rejected since nonce value expiries
2017-06-25 19:59:18 +02:00
Marek Ruszczak f8a9c56384 Add new location where digest authentication reports stale of nonce
- first request with proper credentials is rejected with stale=true and cookie is set
  to be able to detect that request was resent with new nonce value
- second request with proper credential is accepted since contains respective cookie value
  as response cookie value is changed so next request will be rejected with stale=true again
2017-06-22 16:47:13 +02:00
kennethreitz 3463b5ec56 runscope 2017-06-03 18:24:09 -04:00
kennethreitz a1a74f06fa Merge pull request #360 from Flimm/anything
Add /anything route
2017-06-01 13:56:46 -04:00
David D Lowe df3f0501a3 Add /anything route 2017-06-01 18:53:18 +01:00
kennethreitz 49cffc839f Merge pull request #358 from mattwwarren/post-response-headers-357
add POST to methods kwarg
2017-05-26 06:07:14 -07:00
mwarren 4706888b3d add POST to methods kwarg
and a test, for good measure
2017-05-26 07:34:46 -04:00
kennethreitz 8d0c38b980 Merge pull request #354 from janko-m/mention-chunked-encoding
Mention that "stream-bytes" uses chunked encoding
2017-05-25 10:11:20 -07:00
kennethreitz 8779663d3b fix 2017-05-15 15:50:13 -04:00
kennethreitz be842a46c4 updated html 2017-05-15 15:48:44 -04:00
kennethreitz a39de83be1 Flask-Common 2017-05-11 11:41:10 -04:00
kennethreitz a649abcb10 meinheld server 2017-05-11 11:40:45 -04:00
Janko Marohnić e3ebd829b0 Mention that "stream-bytes" uses chunked encoding 2017-05-11 20:04:01 +10:00
kennethreitz cb6795c0c6 Merge pull request #350 from mmattozzi/master
Adding a /etag URL for testing If-Match and If-None-Match conditional logic
2017-04-24 12:43:43 -04:00
Mike Mattozzi 7061616db8 Adding an etag URL for testing If-Match and If-None-Match logic 2017-04-22 16:26:09 -04:00
Nate Prewitt ef4f34adc9 Merge pull request #346 from nateprewitt/range_content_length
fix Content-Length header values for /range endpoint
2017-03-30 10:37:05 -06:00
Nate Prewitt b64036b316 fix Content-Length header value for /range endpoint 2017-03-30 10:32:11 -06:00
kennethreitz 7dc2417f9c got rid of changelog 2017-03-22 13:01:45 -04:00
kennethreitz 3945913c0f Connect-Time 2017-03-22 12:59:19 -04:00
kennethreitz 48ea5662de Total-Route-Time 2017-03-22 12:58:58 -04:00
kennethreitz 0b7fadcb1d via 2017-03-22 12:58:32 -04:00
kennethreitz f36890668f fix helpers 2017-03-22 12:57:03 -04:00
kennethreitz 4a8f70bcb8 hide x-request-id #342 2017-03-22 12:55:32 -04:00
kennethreitz b1118bbd23 Revert "Revert "no rate limiting""
This reverts commit f8a7a6221c.
2017-03-20 02:21:11 -04:00
kennethreitz 3d52c2a8b5 kennethreitz 2017-03-19 22:36:31 -04:00
kennethreitz e6e0300a5f tox changes 2017-03-19 22:35:59 -04:00
kennethreitz f8a7a6221c Revert "no rate limiting"
This reverts commit f1042e3f21.
2017-03-19 22:26:55 -04:00
kennethreitz f1042e3f21 no rate limiting 2017-03-19 22:25:58 -04:00
kennethreitz 934b7908c6 get_ipaddr 2017-03-19 22:19:29 -04:00
kennethreitz df3c5ba2d5 rate-limiting 2017-03-19 22:12:20 -04:00
kennethreitz c8bcbb944c use gevent 2017-03-19 21:58:17 -04:00