Re: httptunnel client 4.0 alpha 3 and preemtive authentication

2008-04-02 Thread Oleg Kalnichevski
Sebastiaan van Erk wrote: Hi, I'm trying to use preemptive authentication because I have a non-repeatable (dyanimc) request entity. Currently when posting, this goes wrong because I get a 401 Unauthorized but it has already sent some of the data, and when it tries again with the basic

Re: httptunnel client 4.0 alpha 3 and preemtive authentication

2008-04-02 Thread Sebastiaan van Erk
Hi Oleg, Thanks for the reply, I figured as much. I prefer to use expect/continue, which I actually do when the proxy supports it, but in some cases unfortunately it doesn't and I must fall back to preemptive. What does seem strange to me is that HttpClient *does* retry the request with

Re: httptunnel client 4.0 alpha 3 and preemtive authentication

2008-04-02 Thread Oleg Kalnichevski
Sebastiaan van Erk wrote: Hi Oleg, Thanks for the reply, I figured as much. I prefer to use expect/continue, which I actually do when the proxy supports it, but in some cases unfortunately it doesn't and I must fall back to preemptive. What does seem strange to me is that HttpClient *does*

Re: httptunnel client 4.0 alpha 3 and preemtive authentication

2008-04-02 Thread Sebastiaan van Erk
Hi, I looked into it some more, and it turns out it's not the case that it's repeating the request with the non-repeatable entity. I was looking at a wireshark dump and I confused the retry with another very similar post. To be entirely sure I added the following code to the writeTo method of