aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
AgeCommit message (Collapse)Author
2012-09-17Rename cowboy_req:raw_qs/1 to cowboy_req:qs/1Loïc Hoguin
2012-09-17Include the eunit file only if TEST is definedLoïc Hoguin
2012-09-17Make cowboy_req:req() opaqueLoïc Hoguin
Remove http.hrl in the process. If you feel furious about this change after reaching this commit, don't worry! You probably just need a few access or modification functions to be added in cowboy_req for your needs. Problem is, I don't know these. I'll be very thankful if you can open a ticket and tell me all about it so the best solution can be swiftly implemented to make you happy again.
2012-09-17Add the private get_connection/1 function used by cowboy_protocolLoïc Hoguin
This removes cowboy_protocol's dependency on http.hrl!
2012-09-17Add the private get_buffer/1 function used by cowboy_protocolLoïc Hoguin
2012-09-17Add the private get_resp_state/1 function used by cowboy_protocolLoïc Hoguin
2012-09-17Add the private set_bindings/4 function used by cowboy_protocolLoïc Hoguin
2012-09-17Add the private set_buffer/2 function used by cowboy_protocolLoïc Hoguin
2012-09-17Add the private add_header/3 function used by cowboy_protocolLoïc Hoguin
2012-09-17Add the private set_connection/2 function used by cowboy_protocolLoïc Hoguin
2012-09-17Add the private function set_host/4 used by cowboy_protocolLoïc Hoguin
2012-09-17Add a private cowboy_req function to create a Req objectLoïc Hoguin
Private means you must not used it. It's meant for internal use.
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-15Introduce cowboy_req:set_meta/3 to set request metadataLoïc Hoguin
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-15Add a cowboy_req:to_list/1 functionLoïc Hoguin
Removes a lot of duplicate code when printing error messages.
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_req to cowboy_reqLoïc Hoguin