Header Constants and Date Parsing

2010-09-07 Thread Chad La Joie
I have a suggestion and a question. First, I'd like to suggest creating an HTTP header names constant file similar to HttpStatus. A few HTTP defined header names are defined on the HTTP object but not the majority of them. While there are lots of different specs that define HTTP headers I'm

persistent connection with https (Apache commons-httpClient 3.0)

2010-09-07 Thread vinod jadhav
Hi , I am using the Apache commons-httpclient 3.0 library. I have set the MultiThreadedHttpConnectionMan ager for httpSSLclient. I expect here the httpsClient SSLSocket to remain alive , So that for subsequent http request the same SSLSocket should be used. But now when my https request gets co

Re: SSL support in HttpCore 4.0.1

2010-09-07 Thread Jurgen
Hey Ken, Thanks for that link. That is exactly what I was looking for. I took the parts that were relevant, implemented the code and ran a test. Everything works great. Thanks for the quick reply Jurgen On 9/5/2010 8:07 PM, Ken Krugler wrote: Hi Jurgen, You can take a look at how Bixo doe

Re: instream.read() ---- In SSL mode

2010-09-07 Thread harshal82
Use this code for better performance java.net.URI uri = URIUtils.createURI("http", "xyx(host name or host ip address where you want to post)", -1, "/lbsraservicedemo/service.svc/RequestPOST", "tibcoURL="+URLEncoder.encode("query stuff",HTTP.UTF_8)+"&"

Re: GetMethod returns differents stream length on the same URL in different request

2010-09-07 Thread Stephen J. Butler
On Sun, Sep 5, 2010 at 4:04 AM, Khosro Asgharifard wrote: > Thank you Stephen, > Would you please tell me what tag describe such feeds? I don't think you're really clear on how HTML works. There isn't any tag that says "here's the static part" and "here's the dynamic part" of the page. The same t