aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-07-12Remove useless todo commentsLoïc Hoguin
2014-07-12Drop R15 supportLoïc Hoguin
2014-07-12Small addition to the ROADMAPLoïc Hoguin
2014-07-12Reply with 400 on header parsing crashLoïc Hoguin
This is a first step to improve the HTTP status codes returned by Cowboy on crashes. We will tweak it over time. Also fixes a small bug where two replies may have been sent when using loop handlers under rare conditions.
2014-07-10Clarify {true, URL} return for AcceptResource callbackLoïc Hoguin
2014-07-07Merge branch 'fix-spdy-parse-frame' of git://github.com/voluntas/cowboyLoïc Hoguin
A fix for a possible bug has been made to the original patch.
2014-07-07Add failing test of chaining SPDY framesLoïc Hoguin
2014-07-07Small addition to 2.0 roadmapLoïc Hoguin
2014-07-06Provide installable man pagesLoïc Hoguin
make docs: generate Markdown and man pages in doc/ make install-docs: install man pages to be usable directly Docs are generated from the ezdoc files in doc/src/.
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-28Fix cowboy_spdy parse frameNakai Ryosuke
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.