RE: Trying to send raw requests without URL encodings?

2011-04-02 Thread Steve Labarbera
Thanks for the reply but actually that was me asking that question a few months back. I got so frustrated I stepped away from the problem. Now I'm back determined to find a solution. As what was mentioned in that response the HttpCore is built on URI and I have not found a way to bypass the jav

Re: Bytes Missing from HTTP Response

2011-04-02 Thread Ken Krugler
On Apr 2, 2011, at 3:29am, Oleg Kalnichevski wrote: > On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: >> Okay, that makes sense. >> >> To test this, is there a way I can force the content type on the client >> side, prior to requesting the response entity, via the response object? >> >

Re: Trying to send raw requests without URL encodings?

2011-04-02 Thread Sam Crawford
Hi Steve, A very similar question was asked here: http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-ideas-how-I-can-bypass--td25762297.html This only deals with the request URL, but it would mean you don't need to move to HttpCore. Implementing your own RequestEntity makes th

Trying to send raw requests without URL encodings?

2011-04-02 Thread Steve Labarbera
I'm trying to send requests out without any URL encoding. This is necessary because we need to simulate sending requests bypassing the browser encoding the parameters. I have done a bunch of reading and it appears that one user mentioned implementing my own RequestEntity class. Is this the best

Re: Bytes Missing from HTTP Response

2011-04-02 Thread Oleg Kalnichevski
On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: > Okay, that makes sense. > > To test this, is there a way I can force the content type on the client > side, prior to requesting the response entity, via the response object? > You can try adding Accept and / or Accept-Charset header to the

Re: Bytes Missing from HTTP Response

2011-04-02 Thread Chad La Joie
Okay, that makes sense. To test this, is there a way I can force the content type on the client side, prior to requesting the response entity, via the response object? On 4/2/11 6:05 AM, Oleg Kalnichevski wrote: > This is a problem with content decoding. > > << "HTTP/1.1 200 OK[\r][\n]" > << "D

Re: Bytes Missing from HTTP Response

2011-04-02 Thread Oleg Kalnichevski
On Fri, 2011-04-01 at 18:14 -0400, Chad La Joie wrote: > Here you go: > http://shibboleth.net/dumps.tgz > > I found a much smaller document than the one I was initially testing > with. It's off by one byte. > > On 4/1/11 9:38 AM, Oleg Kalnichevski wrote: > > On Fri, 2011-04-01 at 09:06 -0400, Ch

Re: ContentEncodingHttpClient throws NoHttpResponseException

2011-04-02 Thread Oleg Kalnichevski
On Fri, 2011-04-01 at 08:51 -0700, Pololang wrote: > Hi all :-), > > I'm using HttpClient 4.1.1 with HttpCore 4.1, for a HTTPS request with > client certificate stored inside a Java Keystore. > The application runs with JBoss 5 and Spring 3. > It works on my developpement computer (Windows), but n