Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-23 | Breaking update of the cowboy_req interface | Loïc Hoguin | |
Simplify the interface for most cowboy_req functions. They all return a single value except the four body reading functions. The reply functions now only return a Req value. Access functions do not return a Req anymore. Functions that used to cache results do not have a cache anymore. The interface for accessing query string and cookies has therefore been changed. There are now three query string functions: qs/1 provides access to the raw query string value; parse_qs/1 returns the query string as a list of key/values; match_qs/2 returns a map containing the values requested in the second argument, after applying constraints and default value. Similarly, there are two cookie functions: parse_cookies/1 and match_cookies/2. More match functions will be added in future commits. None of the functions return an error tuple anymore. It either works or crashes. Cowboy will attempt to provide an appropriate status code in the response of crashed handlers. As a result, the content decode function has its return value changed to a simple binary, and the body reading functions only return on success. | |||
2014-08-12 | Merge branch 'master' of git://github.com/okeuday/cowboy | Loïc Hoguin | |
2014-08-12 | Fix incorrect type in cowboy_static manual | Loïc Hoguin | |
2014-08-12 | Add cowboy_req:part/2 export | Michael Truog | |
2014-08-11 | Merge branch 'patch-1' of git://github.com/asabil/cowboy | Loïc Hoguin | |
2014-08-11 | Fix REST guide reference to accept_missing_post | Ali Sabil | |
The guide refers to accept_missing_post instead of allow_missing_post. | |||
2014-08-06 | Handle absolute URIs that lack a path entirely | Loïc Hoguin | |
2014-08-06 | Accept absolute URI scheme as uppercase | Loïc Hoguin | |
We should be doing a case insensitive comparison to be correct, but this is more expensive. Almost all clients send lowercase, this patch fixes handling of the aws/aws-sdk-php client which sends uppercase, and no known client sends mixed case so I am holding back on the more expensive solution for the moment. | |||
2014-08-02 | Fix language in getting started | Loïc Hoguin | |
2014-08-02 | Update links extend -> ninenines | Loïc Hoguin | |
2014-08-02 | Fix bad link format in the guide | Loïc Hoguin | |
2014-08-01 | Update Cowboy to 1.0.01.0.0 | Loïc Hoguin | |
2014-08-01 | Remove 1.0 section in the ROADMAP | Loïc Hoguin | |
2014-08-01 | Update CHANGELOG | Loïc Hoguin | |
2014-08-01 | Update rebar.config | Loïc Hoguin | |
2014-08-01 | Update AUTHORS | Loïc Hoguin | |
2014-08-01 | Add OTP release support and versioning info to the guide | Loïc Hoguin | |
2014-08-01 | Update the Getting started chapter to new erlang.mk | Loïc Hoguin | |
Length of the chapter divided by 2! \o/ | |||
2014-08-01 | Update to erlang.mk 1.0.0 | Loïc Hoguin | |
2014-07-27 | Merge branch 'master' of git://github.com/ztmr/cowboy | Loïc Hoguin | |
2014-07-26 | fix a documentation typo | Tomas Morstein | |
The function `set_resp_header' is defined in `cowboy_req' module, not the `cowboy'. | |||
2014-07-17 | Merge branch 'http-1-0-keepalive' of git://github.com/heroku/cowboy | Loïc Hoguin | |
2014-07-14 | Support ad-hoc keep-alive for HTTP/1.0 Clients | Fred Hebert | |
Only go for keep-alive if they submit a 'connection: keep-alive' header in the request, keep behaviour the same otherwise. The new RFC 7230 (http://tools.ietf.org/html/rfc7230#section-6.3) states: If the received protocol is HTTP/1.0, the "keep-alive" connection option is present, the recipient is not a proxy, and the recipient wishes to honor the HTTP/1.0 "keep-alive" mechanism, the connection will persist after the current response; Even though clients are discouraged from doing so in Appendix A.1.2 (http://tools.ietf.org/html/rfc7230#appendix-A.1.2) | |||
2014-07-12 | Remove deprecated body reading interface | Loïc Hoguin | |
2014-07-12 | Remove useless todo comments | Loïc Hoguin | |
2014-07-12 | Drop R15 support | Loïc Hoguin | |
2014-07-12 | Small addition to the ROADMAP | Loïc Hoguin | |
2014-07-12 | Reply with 400 on header parsing crash | Loï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-10 | Clarify {true, URL} return for AcceptResource callback | Loïc Hoguin | |
2014-07-07 | Merge branch 'fix-spdy-parse-frame' of git://github.com/voluntas/cowboy | Loïc Hoguin | |
A fix for a possible bug has been made to the original patch. | |||
2014-07-07 | Add failing test of chaining SPDY frames | Loïc Hoguin | |
2014-07-07 | Small addition to 2.0 roadmap | Loïc Hoguin | |
2014-07-06 | Provide installable man pages | Loï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-01 | Add a new guide chapter: designing a resource handler | Loïc Hoguin | |
2014-07-01 | Explain that passing Req around leads to undefined behavior | Loïc Hoguin | |
2014-07-01 | Merge branch 'fix/rest_principles_typo' of ↵ | Loïc Hoguin | |
git://github.com/paulo-ferraz-oliveira/cowboy | |||
2014-06-30 | Fix typo in REST principles chapter | Paulo Oliveira | |
2014-06-30 | Add missing bracket in a guide example | Loïc Hoguin | |
2014-06-30 | Tweak the REST principles chapter following feedback | Loïc Hoguin | |
2014-06-30 | Add note about httpbis to the roadmap | Loïc Hoguin | |
2014-06-30 | Return 422 instead of 400 when AcceptResource returns false | Loïc Hoguin | |
422 is undefined for HTTP and interpreted as 400. | |||
2014-06-30 | Update specs that were too wide | Loïc Hoguin | |
2014-06-30 | Forgot a todo in the ROADMAP | Loïc Hoguin | |
2014-06-30 | Roadmap for Cowboy 2.0 | Loïc Hoguin | |
2014-06-30 | Fix typo | Loïc Hoguin | |
2014-06-30 | Update erlang.mk and update paths to start the release | Loïc Hoguin | |
Fixes a couple invalid instructions at the same time. | |||
2014-06-28 | Fix cowboy_spdy parse frame | Nakai Ryosuke | |
2014-06-26 | Document the HTTP status codes Cowboy may send in the manual | Loïc Hoguin | |
422 is left out as it's soon to be replaced by 400. | |||
2014-06-25 | Cowboy works fine under 17.1 | Loïc Hoguin | |
2014-06-25 | Wrap-up the user guide | Loïc Hoguin | |