Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-19 | Add HPACK decoding and encoding functions | Loïc Hoguin | |
No decoding options have been added in this commit. They will be added in the future. Only one encoding option has been added: #{huffman => boolean()}. It allows to disable Huffman compression of strings. This compression is enabled by default. | |||
2015-03-13 | Update test dependencies | Loïc Hoguin | |
2015-03-12 | Update Cowlib to 1.3.01.3.0 | Loïc Hoguin | |
2015-03-12 | Simplify the SPDY code for merging duplicate headers | Loïc Hoguin | |
2015-03-12 | Move the settings test near its function | Loïc Hoguin | |
2015-03-12 | Merge branch 'master' of https://github.com/camshaft/cowlib | Loïc Hoguin | |
2015-03-12 | Update erlang.mk | Loïc Hoguin | |
2015-03-12 | Merge branch 'spdy_dev' of https://github.com/Etsukata/cowlib | Loïc Hoguin | |
2015-03-12 | Merge branch 'fix-multipart-bodies-without-headers' of ↵ | Loïc Hoguin | |
https://github.com/danielwhite/cowlib | |||
2015-03-12 | Maintenance | Loïc Hoguin | |
* Update copyright years. * Update erlang.mk. * Fix triq testing. | |||
2015-03-12 | Add missing client functionality to Websocket code | Loïc Hoguin | |
2015-03-06 | Update Cowlib to 1.2.01.2.0 | Loïc Hoguin | |
2015-03-06 | Rewrite UTF-8 validation code | Loïc Hoguin | |
Use a version of the Flexible and Economical UTF-8 Decoder algorithm specifically optimized for Erlang. http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ The utf8_state() type is now exported and changed from a binary to an integer from 0..8. | |||
2015-03-04 | Add permessage-deflate extension support to Websocket | Loïc Hoguin | |
https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19 This also fixes some previously unknown issues with UTF-8 handling and simplifies the interface for parsing frames. | |||
2015-03-03 | Fix parsing of multipart bodies without headers | Daniel White | |
This was discovered while verifying if cow_multipart was a suitable replacement for our existing multipart parser. Our suite for parsing an example from RFC 2046 failed. | |||
2015-02-16 | Update Cowlib to 1.1.01.1.0 | Loïc Hoguin | |
2015-02-16 | Add cow_qs for Websocket protocol parsing/building | Loïc Hoguin | |
Code extracted from Cowboy and generalized. There are no tests in this file: the code is tested with Autobahntestsuite through the Cowboy test suite. There currently is no function to build a masked frame. | |||
2015-02-16 | Add a comment on a test | Loïc Hoguin | |
2015-01-07 | Use 'or' instead of 'orelse' in cow_http_hd | Loïc Hoguin | |
About the same except for functions with tons of tests per clauses, like parse_content_language/1. | |||
2015-01-04 | Simplify the cow_http_hd code | Loïc Hoguin | |
Also rename the macros for inline lowercasing to ?LOWER, and move the type detection macros to cow_parse.hrl. | |||
2015-01-03 | Add @todos in cow_http_hd for additional headers | Loïc Hoguin | |
2015-01-02 | Make sure tokens are non-empty in cow_http_hd | Loïc Hoguin | |
2015-01-02 | Add cow_http_hd:parse_proxy_authenticate/1 | Loïc Hoguin | |
From RFC7235. See cow_http_hd:parse_www_authenticate/1. | |||
2015-01-02 | Add cow_http_hd:parse_www_authenticate/1 | Loïc Hoguin | |
From RFC7235, RFC2617 and RFC6750. Features an attempt at simplifying the code using ?IS_WS macro. | |||
2014-12-31 | Add cow_http_hd:parse_proxy_authorization/1 | Loïc Hoguin | |
From RFC7235. See cow_http_hd:parse_authorization/1. | |||
2014-12-31 | Add cow_http_hd:parse_authorization/1 | Loïc Hoguin | |
Supports Basic, Digest and Bearer schemes only. From RFC7235, RFC2617 and RFC6750. | |||
2014-12-31 | Remove an extraneous empty line | Loïc Hoguin | |
2014-12-29 | Add cow_http_hd:parse_x_forwarded_for/1 | Loïc Hoguin | |
From thin air. | |||
2014-12-29 | Add cow_http_hd:parse_host/1, remove cow_http:parse_fullhost/1 | Loïc Hoguin | |
From RFC7230 and RFC3986. The new function now validates that the characters are correct, but does not go as far as validate segment sizes or number of segments. Its main purpose is still to split host and port. | |||
2014-12-28 | Add cow_http_hd:parse_pragma/1 | Loïc Hoguin | |
We go for an exact <<"no-cache">> match because this is the only directive that was ever defined, because the header is only kept for backward compatible reasons with HTTP/1.0 caches, and because for all other uses the cache-control header is preferred. | |||
2014-12-28 | Add a test for cow_http_hd:parse_content_length/1 | Loïc Hoguin | |
Negative number. | |||
2014-12-28 | Add cow_http_hd:parse_content_range/1 | Loïc Hoguin | |
From RFC7233. | |||
2014-12-27 | Add cow_http_hd:parse_range/1 | Loïc Hoguin | |
From RFC7233. | |||
2014-12-26 | Add cow_http_hd:parse_if_range/1 | Loïc Hoguin | |
From RFC7233. | |||
2014-12-26 | Add cow_http_hd:parse_accept_ranges/1 | Loïc Hoguin | |
From RFC7233. | |||
2014-12-26 | Fix a parse_max_forwards test | Loïc Hoguin | |
2014-12-26 | Add cow_http_hd:parse_retry_after/1 | Loïc Hoguin | |
From RFC7231. | |||
2014-12-26 | Add specs to cow_date:parse_date/1 | Loïc Hoguin | |
2014-12-26 | Improve internal cow_http_hd function token_ci_list/2 | Loïc Hoguin | |
We now ensure that the tokens are made of token characters only. | |||
2014-12-26 | Add cow_http_hd:parse_allow/1 | Loïc Hoguin | |
From RFC7231. | |||
2014-12-26 | Add cow_http_hd:parse_age/1 | Loïc Hoguin | |
From RFC7234. | |||
2014-12-26 | Add cow_http_hd:parse_vary/1 | Loïc Hoguin | |
From RFC7231. | |||
2014-12-26 | Fix a parse_upgrade test | Loïc Hoguin | |
2014-12-26 | Add missing export for second previous commit | Loïc Hoguin | |
2014-12-26 | Simplify the code for parsing 1*DIGIT header values | Loïc Hoguin | |
Follow-up from the change that ensured we don't get any extra whitespace following the value. We can now call binary_to_integer/1 which is more efficient. | |||
2014-12-25 | Add cow_http_hd:parse_sec_websocket_version_resp/1 | Loïc Hoguin | |
From RFC6455. Ho ho ho! | |||
2014-12-24 | Add cow_http_hd:parse_sec_websocket_protocol_resp/1 | Loïc Hoguin | |
From RFC6455. | |||
2014-12-24 | Use _req instead of _client for request-specific parsers | Loïc Hoguin | |
2014-12-24 | Add dummy functions for Sec-WebSocket-(Accept|Key) headers | Loïc Hoguin | |
From RFC6455. These base64 values are expected to be matched directly in the first case, or hashed to generate a new base64 value, therefore no parsing or validation is required. | |||
2014-12-24 | Fix a variable shadow issue in the tests | Loïc Hoguin | |