15 Commits

Author SHA1 Message Date
James Coglan e87bfef9bc Accept HTTP responses that have an empty reason-phrase, per RFC 2616 2020-07-09 19:06:13 +01:00
James Coglan e568366f82 Formatting change: {...} should have spaces inside the braces 2019-06-11 16:12:52 +01:00
James Coglan 115d82bebb Silence all -W2 warnings. 2016-05-18 22:42:16 +01:00
James Coglan 7128d1b030 Standardise the words used to refer to chunks of parser input. 2015-07-10 09:37:03 +01:00
James Coglan 9bc3b9b3f6 Mistakenly used bytesize on an array. 2014-12-06 10:38:03 +00:00
James Coglan 01c1a762e0 Don't expose the frame structure of messages, only expose their opcode and RSV headers. Extensions will mess with frame boundaries so depending on frame structure won't work. 2014-12-05 23:07:47 +00:00
James Coglan ef4fc7c57a Migrate the Hybi driver's internals to use Frame and Message objects compatible with websocket-extensions. 2014-12-02 22:51:42 +00:00
James Coglan 7c755523f1 Include RFC 7230 grammar notes. 2014-06-07 22:23:39 +01:00
James Coglan 1b3f32bbc7 Trailing blank lines are bad. 2014-05-17 00:34:48 +01:00
James Coglan f55f2b221c Header names must not contain backslashes. Include grammer from RFC2616 to clarify this. 2014-05-09 00:30:28 +01:00
James Coglan ddd90b5438 Tweak the regexes for parsing HTTP. 2014-04-17 02:19:14 +01:00
James Coglan 074a8a2f16 Add #status and #headers methods to the Client driver. 2013-05-11 20:42:06 +01:00
James Coglan 5a7fadbcbe Add API for setting custom handshake headers. 2013-05-11 20:28:36 +01:00
James Coglan 020c094e96 Add a driver for handling TCP servers, where we don't want to make the user parse the HTTP request. 2013-05-11 19:28:59 +01:00
James Coglan ba696e8e2c Implement a proper streaming HTTP response parser. This makes the client-side parser more robust and also gives a way to building a driver for TCP servers. 2013-05-11 16:56:29 +01:00