aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2016-06-09Merge branch 'master' of https://github.com/leoliu/cowlibLoïc Hoguin
2016-06-08Fix #39: Prefer crypto:strong_rand_bytes/1Leo Liu
See also https://github.com/erlang/otp/pull/883
2016-06-07Add cow_http_hd:access_control_max_age/1Andrei Nesterov
2016-06-07Add cow_http_hd:access_control_expose_headers/1Andrei Nesterov
2016-06-07Add cow_http_hd:access_control_allow_origin/1Andrei Nesterov
2016-06-07Add cow_http_hd:access_control_allow_methods/1Andrei Nesterov
2016-06-07Add cow_http_hd:access_control_allow_headers/1Andrei Nesterov
2016-06-07Add internal cow_http_hd:join_token_list/1, cow_http_hd:join_token_list/2Andrei Nesterov
2016-06-07Add cow_http_hd:access_control_allow_credentials/0Andrei Nesterov
2016-06-07Add cow_http_hd:parse_access_control_request_method/1Andrei Nesterov
2016-06-07Add cow_http_hd:parse_access_control_request_headers/1Andrei Nesterov
2016-06-07Add cow_http_hd:parse_origin/1Andrei Nesterov
2016-06-06Add a cow_http2:data_header/3 functionLoïc Hoguin
For use with sendfile or streaming in general.
2016-06-06Make cow_http:parse_fullpath/1 remove any fragment componentLoïc Hoguin
2016-06-06Add cow_uri:urlencode/1 and cow_uri:urldecode/1Loïc Hoguin
These are expected to be used on path components, unlike cow_qs:url{en,de}code/1 which are for query strings.
2016-05-24HPACK: Fix an issue with header values as iolistsLoïc Hoguin
2016-03-13Parse the settings payload directly in cow_http_hd:parse_http2_settings/1Loïc Hoguin
2016-03-12Add cow_http_hd:parse_http2_settings/1Loïc Hoguin
No tests or benchmarks, we just call base64:decode on the value.
2016-03-12Add settings_payload/1, settings_ack/0 and ping/1 in cow_http2Loïc Hoguin
Although settings_payload/1 is currently only a placeholder.
2016-03-12Add cow_http:response/3Loïc Hoguin
2015-08-26Merge branch 'master' of https://github.com/robashton/cowlibLoïc Hoguin
2015-08-26Merge branch 'cookie-opts-default-values' of https://github.com/KrzysiekJ/cowlibLoïc Hoguin
2015-08-26Update erlang.mk and start using CircleCILoïc Hoguin
2015-08-26Fix a Dialyzer warning in cow_wsLoïc Hoguin
2015-08-26Fix a few binary pattern matching issuesLoïc Hoguin
2015-07-21Fix handling of default values in cookie optionsKrzysztof Jurewicz
Previously, an error would be raised when explicitly passing a default value for either “http_only” or “secure” option.
2015-06-11Add cowboy_http2 with initial HTTP/2 suppportLoïc Hoguin
2015-06-11Remove an outdated commentLoïc Hoguin
2015-04-09WS accepts iodata, so byte_size won't work unless we flattenRob Ashton
2015-03-19Add HPACK decoding and encoding functionsLoï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-12Update Cowlib to 1.3.01.3.0Loïc Hoguin
2015-03-12Simplify the SPDY code for merging duplicate headersLoïc Hoguin
2015-03-12Move the settings test near its functionLoïc Hoguin
2015-03-12Merge branch 'master' of https://github.com/camshaft/cowlibLoïc Hoguin
2015-03-12Merge branch 'spdy_dev' of https://github.com/Etsukata/cowlibLoïc Hoguin
2015-03-12Merge branch 'fix-multipart-bodies-without-headers' of ↵Loïc Hoguin
https://github.com/danielwhite/cowlib
2015-03-12MaintenanceLoïc Hoguin
* Update copyright years. * Update erlang.mk. * Fix triq testing.
2015-03-12Add missing client functionality to Websocket codeLoïc Hoguin
2015-03-06Update Cowlib to 1.2.01.2.0Loïc Hoguin
2015-03-06Rewrite UTF-8 validation codeLoï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-04Add permessage-deflate extension support to WebsocketLoï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-03Fix parsing of multipart bodies without headersDaniel 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-16Update Cowlib to 1.1.01.1.0Loïc Hoguin
2015-02-16Add cow_qs for Websocket protocol parsing/buildingLoï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-16Add a comment on a testLoïc Hoguin
2015-01-07Use 'or' instead of 'orelse' in cow_http_hdLoïc Hoguin
About the same except for functions with tons of tests per clauses, like parse_content_language/1.
2015-01-04Simplify the cow_http_hd codeLoïc Hoguin
Also rename the macros for inline lowercasing to ?LOWER, and move the type detection macros to cow_parse.hrl.
2015-01-03Add @todos in cow_http_hd for additional headersLoïc Hoguin
2015-01-02Make sure tokens are non-empty in cow_http_hdLoïc Hoguin
2015-01-02Add cow_http_hd:parse_proxy_authenticate/1Loïc Hoguin
From RFC7235. See cow_http_hd:parse_www_authenticate/1.