Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-10 | Merge branch 'binary-expires' of git://github.com/NineFX/cowboy | Loïc Hoguin | |
2014-06-10 | Allow users to pass a raw binary() as the expires header. | Drew Varner | |
2014-06-04 | Add a REST principles chapter to the guide | Loïc Hoguin | |
This is a complex subject so hopefully I did not introduce errors while trying to explain it. | |||
2014-06-03 | Add a simple multipart upload example | Loïc Hoguin | |
2014-06-03 | Add a return value to onresponse hook to override status/headers | Loïc Hoguin | |
This would allow us to override them without messing up the body, and would make it usable with the static file handler for example. Experimental at this point. | |||
2014-06-02 | Add request body reading options | Loïc Hoguin | |
The options were added to allow developers to fix timeout issues when reading large bodies. It is also a cleaner and easier to extend interface. This commit deprecates the functions init_stream, stream_body and skip_body which are no longer needed. They will be removed in 1.0. The body function can now take an additional argument that is a list of options. The body_qs, part and part_body functions can too and simply pass this argument down to the body call. There are options for disabling the automatic continue reply, setting a maximum length to be returned (soft limit), setting the read length and read timeout, and setting the transfer and content decode functions. The return value of the body and body_qs have changed slightly. The body function now works similarly to the part_body function, in that it returns either an ok or a more tuple depending on whether there is additional data to be read. The body_qs function can return a badlength tuple if the body is too big. The default size has been increased from 16KB to 64KB. The default read length and timeout have been tweaked and vary depending on the function called. The body function will now adequately process chunked bodies, which means that the body_qs function will too. But this means that the behavior has changed slightly and your code should be tested properly when updating your code. The body and body_qs still accept a length as first argument for compatibility purpose with older code. Note that this form is deprecated and will be removed in 1.0. The part and part_body function, being new and never having been in a release yet, have this form completely removed in this commit. Again, while most code should work as-is, you should make sure that it actually does before pushing this to production. | |||
2014-04-27 | Merge branch 'fix-host-websocket-example' of git://github.com/edgurgel/cowboy | Loïc Hoguin | |
2014-04-27 | Use current host as base to Websocket Example URL | Eduardo Gurgel | |
2014-04-26 | Add a test for multipart over chunked transfer-encoding | Loïc Hoguin | |
2014-04-26 | Merge branch 'language-range-header' of git://github.com/NineFX/cowboy | Loïc Hoguin | |
2014-04-26 | Change wording in the guide to remove ambiguity | Loïc Hoguin | |
2014-04-26 | Make loop handlers work with SPDY | Loïc Hoguin | |
Adds a loop_handler test suite that runs all tests under HTTP, HTTPS, SPDY each with and without the compress option enabled. Fixes output filtering that used to filter more than it should have. This forces us to parse the string sent by the emulator, which means it's probably not perfect yet. But it should at least not hide errors we want to see. Fix a crash in the output filtering code that entirely disabled output. Now when there is a crash the normal tty output is restored. Handlers are now in test/handlers/ as they can be reused between suites. Only generate a single certificate for the whole ct run to speed things up when we got many different test groups each needing certificates. | |||
2014-04-24 | Fix two issues where listeners didn't get stopped properly | Loïc Hoguin | |
2014-04-22 | Move listener initialization to cowboy_test | Loïc Hoguin | |
2014-04-22 | Start applications directly from the ct hook | Loïc Hoguin | |
2014-04-21 | Silence expected test error reports from the console output | Loïc Hoguin | |
The errors are still logged by common_test to the report it creates. The process that is going to crash has to call cowboy_error_h:ignore/3 with the MFA where the crash is expected to occur for it to be ignored. Gun retry failures are also ignored. Only unexpected crashes are printed. | |||
2014-04-20 | Enable Autobahn Test Suite by default | Loïc Hoguin | |
Includes a variety of small changes that are a first step to improving the test system heavily. | |||
2014-04-17 | Cleanup the configuration handling in http_SUITE | Loïc Hoguin | |
2014-04-17 | Fix manual for content_types_provided | Loïc Hoguin | |
2014-04-17 | Merge branch 'fix/basic-auth-empty-password' of git://github.com/soundrop/cowboy | Loïc Hoguin | |
2014-04-14 | Kato.im added to the list of sponsors | Loïc Hoguin | |
2014-04-11 | Add 17.0 and 17.0_native to the list of tested releases | Loïc Hoguin | |
2014-04-11 | Fix application start order in tests, gun depends on cowlib | Loïc Hoguin | |
2014-03-27 | Update cowlib to 0.6.1 | Loïc Hoguin | |
2014-03-27 | Add +warn_missing_spec and fix specs | Loïc Hoguin | |
2014-03-26 | Remove outdated comments, all edoc, plus a few minor tweaks | Loïc Hoguin | |
2014-03-25 | Update rebar.config | Loïc Hoguin | |
2014-03-25 | Simplify the SPDY suite using the new Gun interface | Loïc Hoguin | |
2014-03-25 | Make the latin1 cyrillic route tests work on R17+ | Loïc Hoguin | |
Instead of relying on the encoding of the file we now simply have list of numbers as they would be inside a latin1 file. | |||
2014-03-25 | Don't flush the resp_sent message if connection is closed | Loïc Hoguin | |
Tiny optimization. | |||
2014-03-24 | Remove cowboy_client; use gun for the HTTP test suite | Loïc Hoguin | |
2014-03-24 | Use the new chunked and identity transfer decoding code from cowlib | Loïc Hoguin | |
2014-03-24 | Use cow_http_hd:parse_transfer_encoding/1 where applicable | Loïc Hoguin | |
2014-03-24 | Use cow_http_hd:parse_content_length/1 where applicable | Loïc Hoguin | |
2014-03-24 | Use cow_http_hd:parse_connection/1 where applicable | Loïc Hoguin | |
2014-03-24 | Update erlang.mk | Loïc Hoguin | |
2014-03-23 | Update cowlib to 0.6.0 | Loïc Hoguin | |
2014-03-23 | Remove R16B03-0 from the list of tested releases | Loïc Hoguin | |
2014-03-10 | Remove cowboy_http:urldecode/1 and urlencode/1 | Loïc Hoguin | |
Use cow_qs:urldecode/1 and cow_qs:urlencode/1 instead | |||
2014-03-08 | Fix typespecs of cowboy_websocket:handler_terminate | Loïc Hoguin | |
Pointed out during the ConcuError tutorial by Kostis. Thanks! :-) | |||
2014-03-03 | Update and improve Websocket chapters in the guide | Loïc Hoguin | |
2014-02-27 | Keep the whitespace from multiline headers | Loïc Hoguin | |
Before, we could have Header: the value is multiline Become "the valueis multiline". Now it will properly be "the value is multiline". | |||
2014-02-21 | Merge branch 'stop_listener-spec' of git://github.com/s1n4/cowboy | Loïc Hoguin | |
2014-02-21 | Merge branch 'master' of git://github.com/pdericson/cowboy | Loïc Hoguin | |
2014-02-21 | Fix cowboy:stop_listener/1 spec in manual | Sina Samavati | |
2014-02-19 | Cleanup .gitignore | Loïc Hoguin | |
2014-02-19 | Update cowlib to 0.5.1 to fix multipart issues | Loïc Hoguin | |
2014-02-16 | Fix stop_listener/1 spec | Sina Samavati | |
2014-02-09 | Allow empty passwords when parsing Basic authorization header | Ali Sabil | |
2014-02-06 | Update copyright years | Loïc Hoguin | |