Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-10-17 | Rewrite the token list parsing into separate, modulable functions | Loïc Hoguin | |
Introduce cowboy_http's list/2, nonempty_list/2, token/2 functions. | |||
2011-10-05 | Parse 'Connection' headers as a list of tokens | Loïc Hoguin | |
Replaces the 'Connection' interpretation in cowboy_http_protocol from raw value to the parsed value, looking for a single token matching close/keep-alive instead of the whole raw value (which could contain more than one token, for example with Firefox 6+ using websocket). Introduce the functions cowboy_http_req:parse_header/2 and /3 to semantically parse the header values and return a proper Erlang term. |