Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-05 | Add test for the compress_response example | Loïc Hoguin | |
2017-02-05 | Remove outdated todo comments from req_SUITE | Loïc Hoguin | |
2017-02-05 | Fix sending of large files with HTTP/2 | Loïc Hoguin | |
Also finish implementing the relevant test, getting rid of todos. | |||
2017-02-05 | Test Websocket protocol version 7 | Loïc Hoguin | |
A bit late but at least removes a todo. | |||
2017-01-24 | examples_SUITE: Query system to find GNU Make executable2.0.0-pre.6 | Jean-Sébastien Pédron | |
... instead of hard-coding "make". First, we check the value of `$MAKE`. If it's unset, we look for `gmake` in the `$PATH`. If it's missing, we assume it's `make`. This fixes the testsuite where GNU Make is installed as `gmake`. | |||
2017-01-24 | cowboy_static: Add support for files in EZ archives | Jean-Sébastien Pédron | |
If cowboy_static is initialized with `{priv_file, ...}` or `{priv_dir, ...}`, it is now able to read files from Erlang application .ez archives. When serving a file from an archive, the #file_info{} comes from the archive, not the contained file, except for the size and type. The erl_prim_loader module is used to read the latter's #file_info{} and the actual file content (ie. sendfile(2) is not used in this case). | |||
2017-01-22 | Add experimental cowboy_compress_h stream handler | Loïc Hoguin | |
Currently marked as experimental because it can't be tweaked (just enabled/disabled) and because it is not documented yet. | |||
2017-01-04 | Make the new cowboy_req tests more realistic2.0.0-pre.5 | Loïc Hoguin | |
2017-01-04 | Add functions for getting and setting response headers | Johan Lövdahl | |
2017-01-03 | Rewrite the tests for header name/value limits | Loïc Hoguin | |
Putting them in the correct test suite, with the proper documentation etc. | |||
2017-01-03 | Return status 431 if the request header field is too large | José Valim | |
This commit changes Cowboy to follow RFC6585. | |||
2017-01-02 | Welcome to 2017 | Loïc Hoguin | |
2017-01-02 | Add a few more test cases for cowboy_req:match_qs | Loïc Hoguin | |
2016-10-18 | Fix if_modified_since match of last_modified | Christopher Adams | |
Correct expected return type from `no_call` to `undefined` in if_modified_since when last_modified callback is not defined. Add an http_SUITE test to catch regressions. | |||
2016-08-15 | Allow websocket_init/1 to reply/close/hibernate | Loïc Hoguin | |
2016-08-15 | Modernize the Websocket test suite | Loïc Hoguin | |
2016-08-12 | Remove Req from the Websocket interface | Loïc Hoguin | |
After the switch to Websocket, we are no longer in a request/response scenario, therefore a lot of the cowboy_req functions do not apply anymore. Any data required from the request will need to be taken from Req in init/2 and saved in the handler's state. | |||
2016-08-12 | Merge branch 'master' of https://github.com/camshaft/cowboy | Loïc Hoguin | |
2016-08-12 | Fix Websocket compression | Loïc Hoguin | |
The option for enabling Websocket compression has been renamed. Previously it was shared with HTTP compression, now it's specific to Websocket. The new option is named 'websocket_compress'. | |||
2016-08-11 | Use integer_to_binary when possible | Loïc Hoguin | |
2016-08-11 | Add a test for echo_get example undefined | Loïc Hoguin | |
2016-08-11 | Fix timer-sent events in the websocket example | Loïc Hoguin | |
2016-08-10 | Use binary_to_integer instead of to list and back | Loïc Hoguin | |
2016-08-10 | Make reply functions return Req | Loïc Hoguin | |
2016-08-10 | Update the multipart reading interface | Loïc Hoguin | |
Now named read_part/read_part_body, with a verb indicating action. | |||
2016-08-10 | Add a lot of todos | Loïc Hoguin | |
2016-08-10 | Add tests for responses and request body reading | Loïc Hoguin | |
This is a large commit. The cowboy_req interface has largely changed, and will change a little more. It's possible that some examples or tests have not been converted to the new interface yet. The documentation has not yet been updated. All of this will be fixed in smaller subsequent commits. Gotta start somewhere... | |||
2016-06-27 | send resp_headers with websocket responses | Cameron Bytheway | |
2016-06-22 | Add forgotten changes to a test handler | Loïc Hoguin | |
2016-06-22 | Move TERM= declaration to make variable side | Loïc Hoguin | |
2016-06-22 | Add tests for cowboy_req: match_cookies and match_qs | Loïc Hoguin | |
2016-06-21 | Add cowboy_req:uri/1,2 | Loïc Hoguin | |
Along with more cowboy_req tests. This commit also removes cowboy_req:url/1 and cowboy_req:host_url/1 in favor of the much more powerful new set of functions. | |||
2016-06-20 | Add initial req suite | Loïc Hoguin | |
2016-06-16 | Fix upload example | Loïc Hoguin | |
2016-06-15 | Fix rest_pastebin example | Loïc Hoguin | |
2016-06-14 | Fix eventsource example | Loïc Hoguin | |
2016-06-14 | Fix cookie example | Loïc Hoguin | |
2016-06-14 | Fix rest_basic_auth example | Loïc Hoguin | |
2016-06-13 | Fix websocket example | Loïc Hoguin | |
2016-06-13 | Fix markdown_middleware example | Loïc Hoguin | |
2016-06-13 | Fix chunked_hello_world example | Loïc Hoguin | |
2016-06-13 | Merge static_world and web_server examples | Loïc Hoguin | |
The new example is called file_server and it's basically the same as web_server was. The name is clearer than the original, all examples being "Web servers". The new example is also tested and the test suite has been refactored a little. | |||
2016-06-09 | Fix rest_hello_world example | Loïc Hoguin | |
2016-06-08 | Fix echo_post example | Loïc Hoguin | |
2016-06-08 | Fix echo_get example | Loïc Hoguin | |
2016-06-08 | Add a test suite that checks examples are working | Loïc Hoguin | |
2016-06-06 | Add the static_handler test suite | Loïc Hoguin | |
2016-03-14 | Clarify comments about remaining tests to add to rfc7540_SUITE | Loïc Hoguin | |
2016-03-13 | Fix most remaining HTTP/2 handshake tests | Loïc Hoguin | |
One category of tests involving the SETTINGS ack still fails. It is probably wise to leave these until more SETTINGS related tests are written. | |||
2016-03-13 | Fix more HTTP/2 handshake test cases | Loïc Hoguin | |