Hi Stephen,
stephen joseph butler wrote:
On Feb 12, 2008 11:58 AM, stephen joseph butler
<[EMAIL PROTECTED]> wrote:
Hmmm... that's disappointing. But looking at the source, I might be
able to hack it in myself. Basically, I want to do what is already
done in HttpConnection#tunnelCreated(). So at least I know it's
possible!
Thanks for the information.
For anyone wondering how solved my problem, here's the code I came up
Our mailing list server is filtering attachments from emails.
Could you please open a JIRA ticket and attach the code there?
Thanks a lot for taking the time and sharing your solution.
http://issues.apache.org/jira/
with. In the end, I didn't have to modify any of the HttpClient code,
but my version isn't horribly robust. For instance, it only returns
upgraded sockets (which is fine for IPP), but won't understand an
upgrade request made via a user initiated method. Part of that problem
is that HttpClient discards any responses in the 100 range as being
irrelevant (from what I understand) to the success/failure of the
method. I don't know how 4.x is progressing, but some general way to
hook into the response stream and handle such requests would be nice.
I made sure that HttpCore and HttpConn do not swallow 1xx responses.
But we'll have to make changes to our connection management code to
handle routes that change their security level. I will take care of
it before we go beta:
http://issues.apache.org/jira/browse/HTTPCLIENT-750
thanks,
Roland
Anyway, I didn't have to solve that problem to make my code work.
Class attached for the curious.
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]