0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/test
Loïc Hoguin 3cbf885961
Improve how we detect request errors
When the request process exits with a {request_error, Reason, Human}
exit reason, Cowboy will return a 400 status code instead of 500.
Cowboy may also return a more specific status code depending on
the error. Currently it may also return 408 or 413.

This should prove to be more solid that looking inside the stack
trace.
2017-09-14 13:42:17 +02:00
..
handlers Add tests for direct Req access 2017-09-05 15:28:11 +02:00
http_SUITE_data Fix the remaining http_SUITE test cases 2017-07-14 19:09:42 +02:00
static_handler_SUITE_data cowboy_static: Add support for files in EZ archives 2017-01-24 11:36:58 +01:00
ws_SUITE_data Allow passing options to sub protocols 2017-02-18 18:26:20 +01:00
compress_SUITE.erl Fix a harmless warning in tests 2017-05-23 14:10:05 +02:00
cover.spec Use ct_run instead of rebar ct for running ct tests 2013-01-04 17:56:49 +01:00
cowboy_ct_hook.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_test.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00
examples_SUITE.erl Add test for the compress_response example 2017-02-05 17:32:03 +01:00
h2spec_SUITE.erl Add a test suite for h2spec 2017-05-23 14:05:00 +02:00
http2_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00
http_SUITE.erl Fix the remaining http_SUITE test cases 2017-07-14 19:09:42 +02:00
loop_handler_SUITE.erl Add the idle_timeout HTTP/1.1 protocol option 2017-05-03 17:44:00 +02:00
misc_SUITE.erl Add a test for cowboy:set_env 2017-05-07 18:39:43 +02:00
req_SUITE.erl Improve how we detect request errors 2017-09-14 13:42:17 +02:00
rfc7230_SUITE.erl Rewrite the tests for header name/value limits 2017-01-03 18:07:39 +01:00
rfc7540_SUITE.erl Add many tests for RFC7540 5.1 and 5.1.1 and related fixes 2017-05-23 14:09:38 +02:00
static_handler_SUITE.erl Add a static handler test with an empty file 2017-09-04 18:00:56 +02:00
stream_handler_SUITE.erl Add tests for the streams shutdown mechanism 2017-08-14 17:17:44 +02:00
ws_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00