Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-09-03 | add some tests for Host header parser | YAMAMOTO Takashi | |
2013-05-31 | In content-types, the charset parameter is converted to lowercase | Loïc Hoguin | |
We know this specific parameter is case insensitive so we automatically lowercase it to make things simpler to the developer. | |||
2013-05-16 | Make the return value of AcceptResource callback consistent | Loïc Hoguin | |
2013-05-01 | Update Ranch to 0.8.2 and use ct_helper for testing SSL | Loïc Hoguin | |
2013-04-28 | Merge branch 'chunked-set-resp-body-fun' of git://github.com/fishcakez/cowboy | Loïc Hoguin | |
2013-04-26 | Add chunked response body fun | James Fish | |
Adds a new type of streaming response fun. It can be set in a similar way to a streaming body fun with known length: Req2 = cowboy_req:set_resp_body_fun(chunked, StreamFun, Req) The fun, StreamFun, should accept a fun as its single argument. This fun, ChunkFun, is used to send chunks of iodata: ok = ChunkFun(IoData) ChunkFun should not be called with an empty binary or iolist as this will cause HTTP 1.1 clients to believe the stream is over. The final (0 length) chunk will be sent automatically - even if it has already been sent - assuming no exception is raised. Also note that the connection will close after the last chunk for HTTP 1.0 clients. | |||
2013-04-26 | Move a test resource where it belongs | Loïc Hoguin | |
2013-04-24 | Reorganize the http test suite | Loïc Hoguin | |
2013-04-22 | Move SSL test certificates in a subdirectory | Loïc Hoguin | |
2011-04-08 | Initial 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'. |