Re: httpclient dont support ö ?

2004-03-18 Thread Sven Köhler
nun habe ich noch das problem das er kein Dateien mit umlauten versenden kann,z.b Übung1.txt I guess you're talking about the content-disposition header or http-headers with umlauts in general - i think there's no standard for sending them. First, i have to define a http-header to be more like

Re: httpclient dont support ö ?

2004-03-18 Thread Sven Köhler
There are two exceptions to this. One is in the case of the URL query string, the other is for some authentication methods. For more on the query string take a look at

Re: \ in path (instead of /)

2003-12-20 Thread Sven Köhler
http://address:port\path\to\some\file.html It might be worthwhile to allow these slashes to be parsed as if they were /'s. such URLs are totally invalid in my eyes. it's nice that some browsers accept them, but i wouldn't care if HttpClient doesn't. Additional it's farely easy to replace them

Re: Sockets and Java NIO?

2003-12-19 Thread Sven Köhler
Does HttpClient make use of Java NIO when in a Java 1.4.x context? If not, is there any work being done in this direction? wherefor? it doesn't make sense since reading and writing to the socket is done in the thread, from which the methods are called. NIO would make sense, if the API of

Re: how to specify HTTP 1.0?

2003-12-16 Thread Sven Köhler
But I can't find out how to actually tell HTTPClient to use HTTP 1.0 instead of HTTP1.1? As far as i remeber HttpMethod m = ...; m.setHttp11(false); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Does HttpClient decompress compressed HTTP transfers?

2003-11-18 Thread Sven Köhler
It'd be rather easy to wrap the streams in a DeflaterOutputStream or an InflaterInputStream. Of course, due to limitations in Java's deflate compression, one must extend DeflaterOutputStream to allow true stream deflation. The problem with the current implementation is that there is no way

Re: HttpMethodBase.releaseConnection() finished download

2003-11-14 Thread Sven Köhler
Adding the ability to abort methods is planned for the 2.1 release, but I don't think anyone has begun work on it yet. If you come up with a good solution that you are willing to submit we would be happy to make use of it. So what would you suggest how an abort should look like? For me, a

Re: Cookies, Chunked-Post Threads

2003-11-13 Thread Sven Köhler
browsers make requests in parallel for *one* user! Meaning that all the cookies returned end up in the same cookie store, as they do here. A proxy servlet will make requests for different users (browsers) and therefore has to maintain a different state for each user. That state is typically

Re: Cookies, Chunked-Post Threads

2003-11-12 Thread Sven Köhler
HttpClient.executeMethod (HostConfiguration, HttpMethod, HttpState) If you have used the same client from different threads without specifying different states, that might be a problem. Well, i use this method now from different thread with different HttpStates. I'd like to use even one

Re: Cookies, Chunked-Post Threads

2003-11-12 Thread Sven Köhler
unless you have taken special precautions, the state object is used to store cookies. Using the same state from different threads can mix up the cookies from different clients pretty badly. Once you have the cookie problem solved, there is no issue with using the same state object. I dimly