Loïc Hoguin
|
3649b0ee0d
Simplify the guards for cowboy_http_req:body/2
|
13 years ago |
Loïc Hoguin
|
7acaa996ed
The semantics for a missing 'If-Match' aren't the same as '*'
|
13 years ago |
Loïc Hoguin
|
99d8f837fe
Fix specs to allow headers as iodata() and not just binary()
|
13 years ago |
Loïc Hoguin
|
64a40cb479
Add set_resp_header/3 and set_resp_body/2 to cowboy_http_req
|
13 years ago |
Loïc Hoguin
|
dcc3d83e31
Fix default parsed values for the Accept and Accept-* headers
|
13 years ago |
Anthony Ramine
|
6fa7659dbb
Support 'Content-Type' in parse_header/2
|
13 years ago |
Loïc Hoguin
|
2f27b046d7
Add 'If-Match' and 'If-None-Match' to parse_header/2
|
13 years ago |
Loïc Hoguin
|
12b9ca3526
Fix reading the request body when Length < byte_size(Buffer)
|
13 years ago |
Loïc Hoguin
|
6dbe2b2130
Add 'Accept-Language' to cowboy_http_req:parse_header/2
|
13 years ago |
Loïc Hoguin
|
aba1ea4636
Add 'If-Modified-Since' and 'If-Unmodified-Since' to parse_header/2
|
13 years ago |
Loïc Hoguin
|
aadd974f06
Merge branch 'parse_header-content-length' of https://github.com/nox/cowboy
|
13 years ago |
Anthony Ramine
|
04bcbc444d
Support 'Content-Length' in parse_header/2
|
13 years ago |
Loïc Hoguin
|
77b3562257
Rename cowboy_http:charset/2 to conneg/2 and use it for Accept-Encoding
|
13 years ago |
Paul Oliver
|
bd90df1f5e
Fix cowboy_http_req:chunk/2 spec
|
13 years ago |
Loïc Hoguin
|
4cd825923f
Add 'Accept-Charset' to cowboy_http_req:parse_header/2
|
13 years ago |
Loïc Hoguin
|
20204fd33e
Add 'Accept-Encoding' to cowboy_http_req:parse_header/2
|
13 years ago |
Loïc Hoguin
|
c605c4fa40
Add 'Accept' header parsing
|
13 years ago |
Loïc Hoguin
|
c589922ebd
Parse Connection header tokens in a case-insensitive manner
|
13 years ago |
Loïc Hoguin
|
381c178073
Add a cowboy_http_req:upgrade_reply/3 function and use it for websockets
|
13 years ago |
Loïc Hoguin
|
1e7338bdd4
Rewrite the token list parsing into separate, modulable functions
|
13 years ago |
Loïc Hoguin
|
81cc99d10b
Add shortcuts to reply functions
|
13 years ago |
Loïc Hoguin
|
2a324aca3a
Rename a variable from Code to Status
|
13 years ago |
Loïc Hoguin
|
fd786ef233
Fix a crash in response_connection when Name is an atom =/= 'Connection'
|
13 years ago |
Loïc Hoguin
|
8e835bce9f
Close the connection when the application sends Connection: close
|
13 years ago |
Loïc Hoguin
|
97460a5993
Fix a crash in websocket_handshake when cowboy_http_req:compact/1 is used
|
13 years ago |
Loïc Hoguin
|
c2be0f2073
Remove the 'HEAD' chunked_reply/3 clause
|
13 years ago |
Loïc Hoguin
|
bf5c2717bc
Parse 'Connection' headers as a list of tokens
|
13 years ago |
Loïc Hoguin
|
b79e9fbeb4
Get rid of a binary construct in cowboy_http_req
|
13 years ago |
Loïc Hoguin
|
ce26d7090b
Rename the type cowboy_dispatcher:path_tokens/0 to :tokens/0
|
13 years ago |
Loïc Hoguin
|
6572d4d374
Merge branch 'path-split-doc' of https://github.com/klaar/cowboy
|
13 years ago |