RE: problem with post

2003-03-13 Thread Oleg Kalnichevski
Vikram 1) Upgrade to the most current CVS version 2) Unless you get wire log to work, I doubt I'll be able to help you. Wire log is printed to stderr, it can be that your stderr is redirected to a file 3) Does your raw socket code implement "expect: 100-continue" handshake? If you disable ExpectCon

RE: problem with post

2003-03-13 Thread vikram . x . kondadasula
Hai, I tried using the wire log but I donot get any wire log .I set the following properties in my class System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System.setProperty( "org.apache.commons.logging.simplelog.log.httpclient.wire ", "debug");

RE: Problem with SSL Certificate

2003-03-13 Thread Adrian Sutton
I didn't polish it any more than it previously was, but it's been in beta testing for a while now and the only complaint is that on plain 1.3 systems with no JSSE our applet tries to download X509TrustManager which of course doesn't exist. I've attached it to this email with a CC in case the list

Re: Problem with SSL Certificate

2003-03-13 Thread Michael Becke
I've been doing the same. I found it easier to just import the self-signed cert into my JRE. Let me know if you need some examples. Mike On Thursday, March 13, 2003, at 06:13 PM, Oleg Kalnichevski wrote: Hi Adrian Have you even had a chance to complete that simple TrustManager of yours?. Cur

RE: Problem with SSL Certificate

2003-03-13 Thread Oleg Kalnichevski
Hi Adrian Have you even had a chance to complete that simple TrustManager of yours?. Currently I need to be able to access my local web server that is using self-signed certificate for SSL transactions. It's a bit unfortunate that I may end up reinventing the wheel. Cheers Oleg On Mon, 2003-02-24

RE: problem with post

2003-03-13 Thread Adrian Sutton
It may also be worth taking a look at: http://jakarta.apache.org/commons/httpclient/troubleshooting.html which has some basic tips on tracking things down. The results of "Things To Try" are generally useful (though 7 and 8 are getting a bit technical so I usually leave them for really difficult

Re: How to get access to individual chunks in chunked response?

2003-03-13 Thread Simon Roberts
> Kalnichevski, Oleg wrote: > > I may be wrong here, but let me express my personal opinion on this > > matter. Please bear in mind HTTP protocol has been designed to be > > stateless, request/response oriented (with cookies being a very > > clumsy attempt at adding session persistence later on). I

DO NOT REPLY [Bug 10817] - Provide more Example Code

2003-03-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 17947] - Need setURI() methods in HttpMethod interface

2003-03-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: problem with post

2003-03-13 Thread Oleg Kalnichevski
Vikram 2.0 has not been released yet. You must be using one of the alphas. In order to be able to help you I need wire log too. I need to know what gets sent across the wire. Anyways, I suggest that you upgrade to the most recent CVS snapshot. There's been a few bug fixes since the latest Al

Re: problem with post

2003-03-13 Thread vikram . x . kondadasula
Oleg, Thanks for responding. I am using 2.0 ver and I am not using any proxy.And here is the log 2003/03/13 16:31:26:125 EST [TRACE] GetMethod - -enter GetMethod(String) 2003/03/13 16:31:26:140 EST [TRACE] PostMethod - -enter PostMethod.getRequestBody(InputStream) 2003/03/13 16:31:26:140 EST [

Re: Bug? HttpMethod.removeRequestHeader( "User-Agent" ) does notremove the header

2003-03-13 Thread Oleg Kalnichevski
Hi Sylwester 'User-Agent' header should include version information in case you are using a release. If you are using a CVS snapshot, there's usually no reliable way of telling. Simply stay current Oleg On Thu, 2003-03-13 at 10:33, Sylwester Lachiewicz wrote: > Hi, > Simple question - how i can g

Re: problem with post

2003-03-13 Thread Oleg Kalnichevski
Vikram, What version of HttpClient are you using? Are you by any chance posing requests through a proxy? We'll be able to help if we know a bit more. You'll need to produce wire log of HTTP session that causes that exception. Please refer to this document for details on logging in HttpClient h

Re: file systems

2003-03-13 Thread Jeff Dever
I agree. HttpClient is not a all purpose url handler: it is a client side implementation of the HTTP protocol. There are an unlimited number of different URL types. HttpClient should only handle the HTTP ones. Kalnichevski, Oleg wrote: Rob, HttpClient does not offer support for file:// schem

Re: Bug? HttpMethod.removeRequestHeader( "User-Agent" ) does notremove the header

2003-03-13 Thread Sylwester Lachiewicz
Hi, Simple question - how i can get HttpClient version? Sylwester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

problem with post

2003-03-13 Thread vikram . x . kondadasula
Hai, I am trying to execute a post using httpclient and this the message , I get org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP/" a

Re: First org.apache.commons.httpclient.contrib package component?

2003-03-13 Thread Eric Johnson
Oleg, It looks like a fine submission to me. I think your package name suggestion is a good one. Perhaps a different class name, though. I'm thinking HttpMethodCloner. -Elric. Oleg Kalnichevski wrote: Folks How about making this utility class the first contribution to our yet non-existent

DO NOT REPLY [Bug 12798] - Path should not be encoded in HttpMethodBase

2003-03-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

First org.apache.commons.httpclient.contrib package component?

2003-03-13 Thread Oleg Kalnichevski
Folks How about making this utility class the first contribution to our yet non-existent org.apache.commons.httpclient.contrib package? Ideas, suggestions, objections? Cheers Oleg On Thu, 2003-03-13 at 14:47, [EMAIL PROTECTED] wrote: > Here's the code: > > > package at.vtg.httpcl

Re: How to get access to individual chunks in chunked response?

2003-03-13 Thread Ortwin Glück
Kalnichevski, Oleg wrote: I may be wrong here, but let me express my personal opinion on this matter. Please bear in mind HTTP protocol has been designed to be stateless, request/response oriented (with cookies being a very clumsy attempt at adding session persistence later on). I doubt that HTTP p

DO NOT REPLY [Bug 12798] - Path should not be encoded in HttpMethodBase

2003-03-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 12798] - Path should not be encoded in HttpMethodBase

2003-03-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: How to get access to individual chunks in chunked response?

2003-03-13 Thread Fredrik Herbertsson
Hi Oleg! After sending the mail, I started to question my design myself. Of course, my application stuff has nothing to do with the HTTP transport. Chunked encoding is (as you say) a TRANSFER encoding, which an application should have NO knowledge of the internal workings of. To make some applic

RE: How to get access to individual chunks in chunked response?

2003-03-13 Thread Kalnichevski, Oleg
Fredrik, We have striven to make transfer encoding absolutely transparent to the client. We have never envisaged direct access to individual chunks of chunk-encoded data. I may be wrong here, but let me express my personal opinion on this matter. Please bear in mind HTTP protocol has been desi

RE: file systems

2003-03-13 Thread Kalnichevski, Oleg
Rob, HttpClient does not offer support for file:// scheme and I personally doubt that it should, as the protocol in question has nothing to do with HTTP. Other protocols like file://, news://, ldap:// and whatever:// should be supported on a higher level with http:// and https:// scheme being j

AW: Copy or clone a HttpMethod

2003-03-13 Thread mathis
Here's the code: package at.vtg.httpclient; // or whatever you want ;-) import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HostConfiguration; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.HttpMethodBase; impor

RE: Bug #12798: Feedback would be welcome

2003-03-13 Thread Kalnichevski, Oleg
All right then. I'll update the description of all affected methods and submit the patch Oleg -Original Message- From: Armando Anton [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. März 2003 11:12 To: Commons HttpClient Project Subject: RE: Bug #12798: Feedback would be welcome Hi! The

RE: Copy or clone a HttpMethod

2003-03-13 Thread Kalnichevski, Oleg
Thomas The mailing list software started discarding attachments. I suggest you simply post your code inline Jandalf, What does your magic globe say as to why attachments get stripped away these days? Is it deliberate or accidental? Oleg -Original Message- From: [EMAIL PROTECTED] [mail

DO NOT REPLY [Bug 17947] - Need setURI() methods in HttpMethod interface

2003-03-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

file systems

2003-03-13 Thread Rob Tice
Hi there Just a quick question - The http client doesn’t appear to support file:// as a valid protocol - any plans to implement file system support? Rob Tice

How to get access to individual chunks in chunked response?

2003-03-13 Thread Fredrik Herbertsson
HI, Is it possible using HttpClient to get access to individual chunks in an chunked response? Further, does the HTTP standard allow a HTTP-server to send MORE than one (full, i.e. last chunk of size 0 sent) HTTP/1.1 200 responses for one request? The problem I'm trying to solve is to make a re

RE: Bug #12798: Feedback would be welcome

2003-03-13 Thread Armando Anton
Hi! The patch sounds great! :) Armando -Original Message- From: Michael Becke [mailto:[EMAIL PROTECTED] Sent: jueves, 13 de marzo de 2003 2:50 To: Commons HttpClient Project Subject: Re: Bug #12798: Feedback would be welcome Functionality-wise it looks good. I think it only needs some

AW: Copy or clone a HttpMethod

2003-03-13 Thread mathis
Hi Oleg! here is my utility class for cloning a HttpMethod. Feel free to use/modify ... it. Gtx, Thomas -Ursprüngliche Nachricht- Von: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 7. März 2003 11:52 An: Commons HttpClient Project Betreff: RE: Copy or clone a HttpMethod