aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-01-23Rename the type http_uri/0 to cowboy_http:uri/0Loïc Hoguin
2012-01-23Rename the type http_method/0 to cowboy_http:method/0Loïc Hoguin
Exported types are much better than include files.
2012-01-23Fix typespecs for calendar:datetime/0 in cowboy_http_staticLoïc Hoguin
2012-01-23Add {halt, Req, State} return value to most REST callbacksLoïc Hoguin
Excluding generate_etag, last_modified, expires and variances.
2012-01-23Rename a lot of HandlerState2 variables to HandlerStateLoïc Hoguin
2012-01-23Improve the return value for cowboy_http_rest:upgrade/4Loïc Hoguin
2012-01-23Improve the listener name in the READMELoïc Hoguin
2012-01-23Merge branch 'multipart' of https://github.com/nox/cowboyLoïc Hoguin
Conflicts: src/cowboy_http_req.erl test/http_SUITE.erl
2012-01-23Add multipart supportAnthony Ramine
2012-01-12Welcome to new developments with 0.5.0Loïc Hoguin
2012-01-09Update version to 0.4.00.4.0Loïc Hoguin
2012-01-09Make REST handlers' put_resource accept true or false return valuesLoïc Hoguin
Followup to 0bb23f2400ed0b65834913c8522a978d986f1f92. As discussed in #119.
2012-01-09Merge branch 'static-etag-hook' of https://github.com/klaar/cowboyLoïc Hoguin
2012-01-09Add HTTP handler loops to the READMELoïc Hoguin
2012-01-07Add etag option to cowboy_http_static handler.Magnus Klaar
2012-01-06Update AUTHORSLoïc Hoguin
2012-01-06Update CHANGELOGLoïc Hoguin
2012-01-06Make REST handlers' process_post accept true or false return valuesLoïc Hoguin
They should return true when it has been processed successfully, or false otherwise, in which case a 500 error is sent. Fixes #119.
2012-01-06Fix the stream_body_set_resp testLoïc Hoguin
It was failing from time to time due to the response being sent as two separate packets.
2012-01-06Fix handler crashes handlingLoïc Hoguin
We try to send a 500 error only if we didn't send the response headers yet. If they were, then we have no way to be sure the response was fully sent, nor should we assume anything about how this will be handled client-side, so we do nothing more and in both cases close the connection.
2012-01-06Move the ensure_response call before ensure_body_processedLoïc Hoguin
We want to reply as soon as possible.
2012-01-06Merge branch 'issue-114-tests' of https://github.com/klaar/cowboy into ↵Loïc Hoguin
gracefully-handle-crashes Conflicts: test/http_SUITE.erl
2012-01-05Merge branch 'static-updates' of https://github.com/klaar/cowboyLoïc Hoguin
2012-01-05only run end_static_dir for http and httpsMagnus Klaar
2012-01-05Add test and doc for content types function.Magnus Klaar
2012-01-05Merge branch 'inet_parse_address_fix' of https://github.com/spawngrid/cowboyLoïc Hoguin
2012-01-04inet_address:parse/1 does not accept binaries as an input, only stringsYurii Rashkovskii
2012-01-04Add R15B to travis-ci's configuration fileLoïc Hoguin
2012-01-03Merge branch 'static-handler-split' of https://github.com/klaar/cowboyLoïc Hoguin
2012-01-03Merge pull request #118 from klaar/travis-versions-fixLoïc Hoguin
Remove R14B and R14B01 from .travis.yml
2012-01-03Remove R14B and R14B01 from .travis.ymlMagnus Klaar
2012-01-03Add note on async threads to cowboy_http_static.Magnus Klaar
2011-12-29Add tests for #114Magnus Klaar
2011-12-28Add built-in cowboy_http_static handler.Magnus Klaar
2011-12-28Add cowboy_http_req:set_resp_body_fun/3 to restMagnus Klaar
2011-12-28Add cowboy_http_req:set_resp_body_fun/3.Magnus Klaar
2011-12-28Add cowboy_http_req:transport/1 function.Magnus Klaar
2011-12-26Use calendar date and time types exported since R14B04Loïc Hoguin
Removes the cowboy_clock:date/0, time/0 and datetime/0 exported types.
2011-12-26Add CHANGELOG.md fileLoïc Hoguin
2011-12-22Update AUTHORS fileLoïc Hoguin
2011-12-22Add 'Upgrade' header parsingLoïc Hoguin
Not parsing product tokens, I don't see much point.
2011-12-22Remove outdated @todo notes and update anotherLoïc Hoguin
2011-12-22Add a max_keepalive HTTP protocol optionLoïc Hoguin
Based on the patch by Louis-Philippe Gauthier.
2011-12-22Websocket control frames payload length must be lower than 126 bytesLoïc Hoguin
2011-12-22Add ct tests for binary websocket framesLoïc Hoguin
2011-12-22Move the websocket tests in a separate suiteLoïc Hoguin
2011-12-19create_path now returns a path, not an URILoïc Hoguin
Also add the new 'put_path' metadata information to the request before entering the put_resource step (which proceeds to call content_types_accepted and then the chosen content type's callback, which is expected to use the 'put_path' value as the path to the new resource instead of the original request path, because it may have been changed by the create_path call.
2011-12-19Add meta/2 and meta/3 to cowboy_http_req to save useful protocol informationLoïc Hoguin
* cowboy_http_protocol now defines 'websocket_version' as metadata. * cowboy_http_rest now defines 'media_type', 'language', 'charset' as metadata.
2011-12-19Add missing p_headers and cookies to compacted valuesLoïc Hoguin
2011-12-17Merge branch 'resp-body-fix' of github.com:klaar/cowboyLoïc Hoguin