wai/wai-extra/test
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
..
Network/Wai Fix for #647 (Payload Too Large in WAI is 500 instead of 413) 2019-04-24 07:44:38 +02:00
requests wai-mega tests 2011-11-26 07:57:29 -06:00
json Add 'wai-extra/' from commit '29076d018b0cc159c3ccf3050350e4b7469f2c6c' 2011-07-22 16:51:23 +03:00
sample.hs Fix a bitrotten sample. 2013-08-05 21:18:10 +07:00
Spec.hs Deprecate wai-test and wai-eventsource 2014-05-22 10:12:42 +03:00
test.html Add 'wai-extra/' from commit '29076d018b0cc159c3ccf3050350e4b7469f2c6c' 2011-07-22 16:51:23 +03:00
WaiExtraSpec.hs fix test now that the request logger logs the body 2015-10-16 13:13:37 -07:00