Haven't reviewed, this, but wanted to chime in with a correction: > A quoted-string continues until the closing DQUOTE, even if it contains `\r\n` sequences.
This isn't true. An RFC-compliant parser should reject \r\n within a chunk-ext and respond 400. Go look at the definitions of qdtext and quoted-pair; neither one allows CR or LF. If nginx indeed behaves the way you claim, this is also a bug in nginx. -Ben

