aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-07-01Add a new guide chapter: designing a resource handlerLoïc Hoguin
2014-07-01Explain that passing Req around leads to undefined behaviorLoïc Hoguin
2014-07-01Merge branch 'fix/rest_principles_typo' of ↵Loïc Hoguin
git://github.com/paulo-ferraz-oliveira/cowboy
2014-06-30Fix typo in REST principles chapterPaulo Oliveira
2014-06-30Add missing bracket in a guide exampleLoïc Hoguin
2014-06-30Tweak the REST principles chapter following feedbackLoïc Hoguin
2014-06-30Add note about httpbis to the roadmapLoïc Hoguin
2014-06-30Return 422 instead of 400 when AcceptResource returns falseLoïc Hoguin
422 is undefined for HTTP and interpreted as 400.
2014-06-30Update specs that were too wideLoïc Hoguin
2014-06-30Forgot a todo in the ROADMAPLoïc Hoguin
2014-06-30Roadmap for Cowboy 2.0Loïc Hoguin
2014-06-30Fix typoLoïc Hoguin
2014-06-30Update erlang.mk and update paths to start the releaseLoïc Hoguin
Fixes a couple invalid instructions at the same time.
2014-06-26Document the HTTP status codes Cowboy may send in the manualLoïc Hoguin
422 is left out as it's soon to be replaced by 400.
2014-06-25Cowboy works fine under 17.1Loïc Hoguin
2014-06-25Wrap-up the user guideLoïc Hoguin
2014-06-23Add a multipart intro chapter to the guideLoïc Hoguin
2014-06-22Write the guide chapter rest_flowcharts explaining the diagramsLoïc Hoguin
2014-06-21Add a missing "true" labelLoïc Hoguin
2014-06-21Add a stub chapter with all the REST flowchartsLoïc Hoguin
The detailed explanations will be written at a later time.
2014-06-21Add more details about the 304 in cond diagramLoïc Hoguin
2014-06-21Add REST diagram for PUT/POST/PATCHLoïc Hoguin
2014-06-20Add REST diagram for DELETE methodLoïc Hoguin
2014-06-20Add REST diagram for GET and HEADLoïc Hoguin
2014-06-19Add REST diagram for the part about conditional requestsLoïc Hoguin
2014-06-19Add variances to the conneg diagramLoïc Hoguin
2014-06-19Add more REST diagramsLoïc Hoguin
2014-06-18Add REST diagram for OPTIONS methodLoïc Hoguin
2014-06-10Update Cowboy to 0.10.00.10.0Loïc Hoguin
2014-06-10Update AUTHORSLoïc Hoguin
2014-06-10Update CHANGELOG and ROADMAPLoïc Hoguin
2014-06-10Update Ranch to 0.10.0Loïc Hoguin
2014-06-10Update cowlib to 0.6.2Loïc Hoguin
Fixes parsing of Google Analytics cookies.
2014-06-10Fix specs and a weird value in cowboy_spdyLoïc Hoguin
2014-06-10Merge branch 'binary-expires' of git://github.com/NineFX/cowboyLoïc Hoguin
2014-06-10Allow users to pass a raw binary() as the expires header.Drew Varner
2014-06-04Add a REST principles chapter to the guideLoïc Hoguin
This is a complex subject so hopefully I did not introduce errors while trying to explain it.
2014-06-03Add a simple multipart upload exampleLoïc Hoguin
2014-06-03Add a return value to onresponse hook to override status/headersLoï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-02Add request body reading optionsLoï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-27Merge branch 'fix-host-websocket-example' of git://github.com/edgurgel/cowboyLoïc Hoguin
2014-04-27Use current host as base to Websocket Example URLEduardo Gurgel
2014-04-26Add a test for multipart over chunked transfer-encodingLoïc Hoguin
2014-04-26Merge branch 'language-range-header' of git://github.com/NineFX/cowboyLoïc Hoguin
2014-04-26Change wording in the guide to remove ambiguityLoïc Hoguin
2014-04-26Make loop handlers work with SPDYLoï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-24Fix two issues where listeners didn't get stopped properlyLoïc Hoguin
2014-04-22Move listener initialization to cowboy_testLoïc Hoguin
2014-04-22Start applications directly from the ct hookLoïc Hoguin
2014-04-21Silence expected test error reports from the console outputLoï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.