Commit Graph

427 Commits

Author SHA1 Message Date
Yitz Gale
47f9137948 Changelog. 2019-06-24 16:28:43 +03:00
Yitz Gale
913d584a7c Supply response size to custom loggers when available. 2019-06-24 16:09:53 +03:00
vlatkoB
302726b815 Fix for #647 (Payload Too Large in WAI is 500 instead of 413)
- Instead of 'error "Header line length exceeds allowed maximum."'
  throw 'ConnectionError (UnknownErrorCode 431)
                          "Request Header Fields Too Large"'
- Instead of 'error "Maximum size exceeded"'
  throw 'ConnectionError (UnknownErrorCode 413) "Payload Too Large"'

Before submitting your PR, I have:

- [X] Bumped the version number
- [X] Added Since declarations to the Haddock

After submitting PR, I have:

- [X] Update the Changelog.md file with a link to your PR
- [X] Check that CI passes (except lts-6 and lts-9)

On Windows stack-lts-13 1 test fails
 1) Run streaming response with length
           expected: "HelloHelloHelloHello"
            but got: "Bad Request"

Runs fine on Linux and mac.
2019-04-24 07:44:38 +02:00
Kazu Yamamoto
74618ab513 updating changelog. 2019-01-21 12:17:39 +09:00
Kazu Yamamoto
098f8e0565 wai-extra: ver bumps up. 2019-01-21 12:15:51 +09:00
Kazu Yamamoto
59ea282068 catching up network 3.0. 2019-01-21 12:14:35 +09:00
George Wilson
3376e3c6ff Add a link to my pull request to the changelog 2018-09-27 17:03:16 +10:00
George Wilson
915778a44d Remove dependency on stringsearch 2018-09-27 16:57:51 +10:00
Michael Snoyman
d56cd4a1e9
Drop lifted-base dep 2018-08-28 12:33:17 +03:00
Michael Snoyman
9d36b507b5
Add heading to changelog 2018-08-19 14:22:32 +03:00
Michael Snoyman
1542527ab0 Merge branch 'master' of https://github.com/etsemerald/wai 2018-08-19 05:38:56 +03:00
Daniel Bergey
de3c08d5c8 update ChangeLog for #709 2018-08-17 18:43:50 -04:00
Daniel Bergey
10372c96a6 wai-extra: bump version number 2018-08-17 18:35:20 -04:00
Daniel Bergey
d5acc82172 lenient UTF-8 decoding in JSON logging 2018-08-17 17:23:45 -04:00
Christian Marie
566e9fdbf9 Patch version bump to 3.0.24.2 2018-08-16 17:28:04 +10:00
Christian Marie
22178a3611 Consider quoted multipart form boundary markers 2018-08-16 17:26:22 +10:00
Damian Gaweda
0f99969a90 wai-extra: Catch the "file not found" exception in tempFileBackEndOpts (#705) 2018-08-14 16:39:45 +02:00
patrick brisbin
bb2ba5d495
Version bump and changelog 2018-07-31 14:28:25 -04:00
patrick brisbin
9ffa8fdcb6
Add Middleware.Timeout 2018-07-31 14:28:25 -04:00
Mikkel Christiansen
78c0c060b9 Add minor version bump, changelog entry, and since comment 2018-07-11 12:51:47 +02:00
Mikkel Christiansen
8794abd884 Add rewriteRoot middleware 2018-07-11 10:06:55 +02:00
Michael Karg
fc4ecb77e3 change import prefix to Builder 2018-03-16 10:38:02 +09:00
Michael Karg
5fd74e63d3 trial and error... 2018-03-12 17:01:01 +01:00
Michael Karg
b2274a566d adjust wai-extra example program 2018-03-12 16:44:48 +01:00
Michael Karg
a72cb6b0ed bump bytestring lower bound to 0.10.4 2018-03-12 10:27:32 +01:00
Michael Karg
de81a1be90 drop blaze-builder dependency for wai-extra 2018-03-12 00:23:56 +01:00
Michael Snoyman
c2e1c30479 Update changelogs 2018-01-16 10:56:38 +09:00
Michael Snoyman
8393cf76a1 Clean up warnings 2018-01-16 10:56:38 +09:00
Michael Snoyman
c8d0e67394 Support streaming-commons 0.2 2018-01-16 10:56:38 +09:00
Michael Snoyman
a8abae449b Relax resourcet upper bound 2018-01-16 10:56:38 +09:00
Elliot Cameron
c4e0f170c2
Export Network.Wai.Parse.noLimitParseRequestBodyOptions 2017-12-19 16:26:06 -05:00
Michael Snoyman
ba9b28d2db
Revert change from #654 2017-11-22 11:16:07 +02:00
Jeroen Bransen
699de9736f [wai-extra] Set requestBodyLength to the actual length of the post body 2017-11-20 15:41:25 +01:00
Jeroen Bransen
e900d888ba [wai-extra] Update version number and changelog 2017-11-20 10:32:42 +01:00
Jeroen Bransen
46f9d2477a [wai-extra] Set ChunkedBody for srequest, fixes #652 2017-11-10 13:43:35 +01:00
Mikkel Christiansen
a8a0c51f34 Use stack instead of cabal 2017-08-07 14:38:54 +02:00
Mikkel Christiansen
d7a0d4f5fc Update SSE example in wai-extra. Fixes #635 2017-08-07 13:35:30 +02:00
Mikkel Christiansen
d7ea479834 Document headers required for SSE through Nginx 2017-07-20 14:32:44 +02:00
fisx
4b09d13ade Allow people to manage session state between calls to runSession. (#629)
* Allow people to manage session state between calls to runSession.

* Bump version, update ChangeLog.

* haddocks for runSessionWith.

* Move ClientState(..) to "Internal" module.

This makes import possible, but does not encourage it.

* Expose ClientCookies from runSessionWith (rather than internal ClientState).

* Revert "Expose ClientCookies from runSessionWith (rather than internal ClientState)."

This reverts commit ed575fb2f0aa9fba37c32e93bebff2566e9a2dd4.

* Move runSessionWith (and all that is needed for it to Test.Internal module.
2017-06-22 19:15:49 +03:00
Alistair Lynn
be91bc6569 Tidy up docstring of MethodOverride middleware
This tidies the grammar and brings the structure of the first sentence in line with that used elsewhere.

Not a _dramatic_ improvement, more as a mild decrease in surprise factor when browsing the documentation.
2017-02-18 15:48:36 +00:00
Michael Snoyman
82c8c61bba Version bump for #604 2017-01-17 13:28:05 +02:00
Travis Staton
38d89fa69e All loggers follow the autoFlush setting 2017-01-16 17:26:57 -05:00
Oleg Grenrus
416ab619f8 Add basicAuth' 2016-10-19 18:44:42 +03:00
Dominik Bollmann
e2a051e6c0 ForceSSL: remove redundant import. 2016-09-30 09:57:32 +02:00
Sibi Prabakaran
7465bd9eda
Clarify that Int64 represents bytes. 2016-09-30 01:12:30 +05:30
Sibi Prabakaran
67f6e5bd46
Link parseRequestBodyEx function from the doc. 2016-09-30 00:36:36 +05:30
Michael Snoyman
573d25864c ChangeLog for #582 2016-09-25 14:39:19 +03:00
Dominik Bollmann
8a0f0af2fd bump package version. 2016-09-24 18:07:32 +02:00
Dominik Bollmann
bf6fedbad7 ForceSSL: preserve port number when redirecting to https://. 2016-09-24 17:20:03 +02:00
Michael Snoyman
51b5386e96 Version bump for #580 2016-09-04 08:45:48 +03:00