hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Uploading multiple files via HttpClient
Date Mon, 23 Mar 2009 10:16:35 GMT
On Thu, 2009-03-19 at 11:35 -0700, Dan King wrote:
> Following is the wire log of the HTTP session:
> 

Dan

This log snippet is completely useless, as it does not contain the
request content generated by HttpClient. Did not I ask for a _COMPLETE_
wire log? Feel free to use small files to reduce the overall size of the
file.

Oleg



> [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.1
> [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1
> [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager
> [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = default
> [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII
> [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1
> [DEBUG] DefaultHttpParams - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1854b38
> [DEBUG] DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy
HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss
z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE
dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy
HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss
z]
> [DEBUG] DefaultHttpParams - Set parameter http.protocol.expect-continue = true
> [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 5000
> [DEBUG] HttpConnection - Open connection to xxx.xxx.xxx.xxx:80
> [DEBUG] header - >> "POST /utilist/files_upload.php HTTP/1.1[\r][\n]"
> [DEBUG] HttpMethodBase - Adding Host request header
> [DEBUG] header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
> [DEBUG] header - >> "Host: xxx.xxx.xxx.xxx[\r][\n]"
> [DEBUG] header - >> "Expect: 100-continue[\r][\n]"
> [DEBUG] header - >> "Content-Length: 55515[\r][\n]"
> [DEBUG] header - >> "Content-Type: multipart/form-data; boundary=rpaw-LWw0dFacmgOsvQkpo88XWvuwVZ3gj-b[\r][\n]"
> [DEBUG] header - >> "[\r][\n]"
> [DEBUG] header - << "HTTP/1.1 100 Continue[\r][\n]"
> [DEBUG] header - << "HTTP/1.1 100 Continue[\r][\n]"
> [DEBUG] header - << "[\r][\n]"
> [DEBUG] HttpMethodBase - OK to continue received
> [DEBUG] EntityEnclosingMethod - Request body sent
> [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
> [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
> [DEBUG] header - << "Date: Thu, 19 Mar 2009 18:14:47 GMT[\r][\n]"
> [DEBUG] header - << "Server: Apache/2.2.9 (Win32) PHP/5.2.6[\r][\n]"
> [DEBUG] header - << "X-Powered-By: PHP/5.2.6[\r][\n]"
> [DEBUG] header - << "Content-Length: 400[\r][\n]"
> [DEBUG] header - << "Content-Type: text/html[\r][\n]"
> [DEBUG] header - << "[\r][\n]"
> 
> [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
> [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1
> [DEBUG] HttpConnection - Releasing connection back to connection manager.
> [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 5000
> [DEBUG] header - >> "POST /utilist/files_upload.php HTTP/1.1[\r][\n]"
> [DEBUG] HttpMethodBase - Adding Host request header
> [DEBUG] header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
> [DEBUG] header - >> "Expect: 100-continue[\r][\n]"
> [DEBUG] header - >> "Content-Length: 55515[\r][\n]"
> [DEBUG] header - >> "Content-Type: multipart/form-data; boundary=rpaw-LWw0dFacmgOsvQkpo88XWvuwVZ3gj-b[\r][\n]"
> [DEBUG] header - >> "Host: xxx.xxx.xxx.xxx[\r][\n]"
> [DEBUG] header - >> "[\r][\n]"
> [DEBUG] header - << "HTTP/1.1 100 Continue[\r][\n]"
> [DEBUG] header - << "HTTP/1.1 100 Continue[\r][\n]"
> [DEBUG] header - << "[\r][\n]"
> [DEBUG] HttpMethodBase - OK to continue received
> [DEBUG] EntityEnclosingMethod - Request body sent
> 
> 
> 
> -Dan
> 
> 
> ________________________________
> From: Oleg Kalnichevski <olegk@apache.org>
> To: HttpClient User Discussion <httpclient-users@hc.apache.org>
> Sent: Thursday, March 19, 2009 8:38:34 AM
> Subject: Re: Uploading multiple files via HttpClient
> 
> 
> Post a _complete_ wire log of the HTTP session.
> 
> Oleg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mailto:httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: mailto:httpclient-users-help@hc.apache.org
> 
> 
>       


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message