aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-09-17Remove http.hrl dependency in cowboy_restLoïc Hoguin
Only cowboy_protocol remaining now.
2012-09-17Add a function to lock request responses instead of inliningLoïc Hoguin
Just more cleanup in order to have req() opaque.
2012-09-17Improve consistency of return types for cowboy_req APILoïc Hoguin
The signature of parse_header, body_qs, multipart_data and the set_resp_* functions has changed. See the cowboy_req module edoc for more details.
2012-09-16Add cowboy_req:delete_resp_header/2Loïc Hoguin
Both requested and better for making Req opaque.
2012-09-16Introduce cowboy_req:host_url/1 to remove more duplicate codeLoïc Hoguin
2012-09-15Put the method in cowboy_rest's #state{}Loïc Hoguin
2012-09-15Introduce cowboy_req:set_meta/3 to set request metadataLoïc Hoguin
2012-09-15Use skip_body directly between requestsLoïc Hoguin
There's no need for more complex logic now that we have the API for it.
2012-09-15Remove duplicate code for ensure_responseLoïc Hoguin
2012-09-15Add cowboy_req:url/1 to return the full request URLLoïc Hoguin
Use it in cowboy_websocket for hixie76, replacing http by ws.
2012-09-15Avoid a duplicate HTTP reply in cowboy_websocket:upgrade_error/1Loïc Hoguin
Do this by checking whether we received the resp_sent message.
2012-09-15Put socket and transport into cowboy_websocket's #state{}Loïc Hoguin
As part of the work to make cowboy_req:req() opaque.
2012-09-15Add a cowboy_req:to_list/1 functionLoïc Hoguin
Removes a lot of duplicate code when printing error messages.
2012-09-15Remove two unneeded Req modificationsLoïc Hoguin
2012-09-15Change type #http_req{} to cowboy_req:req()Loïc Hoguin
This removes cowboy_static's dependency on http.hrl.
2012-09-15Separate multipart from body_stateLoïc Hoguin
2012-09-10Replace cowboy_req:path/1 with cowboy_req:raw_path/1Loïc Hoguin
The latter is much more useful than the former, which ends up being removed.
2012-09-10Replace cowboy_req:host/1 with cowboy_req:raw_host/1Loïc Hoguin
The latter is much more useful than the former, which ends up being removed.
2012-08-27Introduce a cowboy_req:req/0 typeLoïc Hoguin
Cleanup the typespecs of the cowboy_req module following this.
2012-08-27Rename cowboy_http_websocket to cowboy_websocketLoïc Hoguin
2012-08-27Rename cowboy_http_static to cowboy_staticLoïc Hoguin
2012-08-27Rename cowboy_http_rest to cowboy_restLoïc Hoguin
2012-08-27Rename cowboy_http_req to cowboy_reqLoïc Hoguin
2012-08-27Rename cowboy_http_protocol to cowboy_protocolLoïc Hoguin
2012-08-27Update behaviours for R15B+Loïc Hoguin
This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record.
2012-08-27Change a websocket error from {error, protocol} to {error, badframe}Loïc Hoguin
For improved consistency.
2012-08-27Have only one -export and -export_type per lineLoïc Hoguin
This should make easier spotting additions and removals in commits.
2012-08-27Switch to Ranch for connection handlingLoïc Hoguin
This is the first of many API incompatible changes. You have been warned.
2012-08-09Update AUTHORS fileLoïc Hoguin
2012-08-08Update version to 0.6.10.6.1Loïc Hoguin
2012-07-31Fix stream_body when used by multipartSeven Du
2012-07-24Improve typespecsLoïc Hoguin
2012-07-24Don't save parsed value in the Host headerJosh Marchán
2012-07-22Remove an useless todoLoïc Hoguin
2012-07-22Look for parsed headers in the cache before trying to parseLoïc Hoguin
2012-07-22Add a REST Hello World exampleLoïc Hoguin
2012-07-22Add a Chunked Hello World exampleLoïc Hoguin
2012-07-22Add a POST echo exampleLoïc Hoguin
2012-07-22Add a GET echo exampleLoïc Hoguin
2012-07-22Add support for Expect: 100-continueLoïc Hoguin
This makes uploading files with curl a lot faster than without.
2012-07-21REST: Normalize content types acceptedLoïc Hoguin
Same as content types provided, we accept the <<"application/json">> form.
2012-07-21REST: Fix charset matchingLoïc Hoguin
2012-07-14Add a simple Static File Server exampleLoïc Hoguin
2012-07-13Add an Hello World exampleLoïc Hoguin
2012-05-23Update version to 0.6.00.6.0Loïc Hoguin
Also update the CHANGELOG and copyright years.
2012-05-21Remove a dumb warning when running the testsLoïc Hoguin
2012-05-21Merge branch 'cookie_slash' of https://github.com/bfrog/cowboyLoïc Hoguin
2012-05-21Merge branch 'serve-static-file' of https://github.com/klaar/cowboyLoïc Hoguin
Fix alphabetical order since @klaar seems to have issues with it. ;)
2012-05-21Merge branch 'fix/relax-conneg-parsing' of https://github.com/tillitech/cowboyLoïc Hoguin
2012-05-21Fix a bug preventing 'onresponse' from being called on errorsLoïc Hoguin