From: Amos Jeffries Date: Fri, 19 Jun 2015 01:22:22 +0000 (-0700) Subject: parser-ng: Add HTTP/1.x extension tokenizer X-Git-Tag: merge-candidate-3-v1~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10bfde05f30208a444d59ae27686b68344d60bbc;p=thirdparty%2Fsquid.git parser-ng: Add HTTP/1.x extension tokenizer Adds a class Http1::Tokenizer, which inherits from ::Parser::Tokenizer and presents additional HTTP-specific token parsing methods. At present it extends for the quoted-string, 1#( token/ quoted-string ), and qdtext constructs from RFC 7230 and RFC 1945. It can also cope with charset and quoted-pair escaping differences in qdtext between RFC 1945 and RFC 7230. The un-escaped form of token is returned. --- 10bfde05f30208a444d59ae27686b68344d60bbc