>
> Otherwise you verify the spec and if you find the Mojo::UA behaviour not
> according to the spec, provide a spec test.
>
This is actually a really complicated case, and the current Mojo::UserAgent
behavior is intentional. Over the years we've encountered quite a few proxy
servers that respond to CONNECT requests with responses like "HTTP/1.0 200
OK\x0d\x0a\x0d\x0a" to indicate that the connection has been established.
I'm of course open to changing the behavior, but i want a very good
explanation for why we should do it (backed up by some serious research).
https://github.com/kraih/mojo/blob/master/lib/Mojo/Content.pm#L115
Here's the block of code responsible for handling the special case.
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.