aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE.erl
AgeCommit message (Collapse)Author
2011-04-14Fix a bug where dupe headers were sent in cowboy_http_req:reply/4.Loïc Hoguin
Now the server defines default headers that can be overwritten by the handler simply by passing them to the reply/4 function. Default headers include, for now, Connection and Content-Length headers. Note that it isn't enough to change the Connection header to close a keep-alive connection server-side.
2011-04-10ct: Add a test for requests pipelining.Loïc Hoguin
2011-04-09ct: Add a test for \n which throws an error 400.Loïc Hoguin
2011-04-09Limit the number of empty lines to allow before the request-line.Loïc Hoguin
Defaults to 5. Prevents someone from indefinitely sending empty lines.
2011-04-09ct: Add tests for incomplete requests leading to a timeout.Loïc Hoguin
2011-04-09ct: Add raw tests to check that errors are properly handled.Loïc Hoguin
2011-04-08Initial work on a ct test suite for the HTTP protocol.Loïc Hoguin
Handles two basic tests for both HTTP and HTTPS. Also renames 'make test' into 'make tests'.