cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libCurl + Multipart Post + Proxy (IPlanet)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 1 Apr 2004 15:38:06 +0200 (CEST)

On Thu, 1 Apr 2004 Massimiliano_Ziccardi_at_intesa.it wrote:

> If I work with the second environment (directly through the IPlanet Proxy)
> the MULTIPART POST returns with an Empty Reply from server.

Can you figure out why the server (or proxy) doesn't send a response? If you
have access to logs on any of those they might offer clues.

> If I do exactly the same operations with HTTPClient (an HTTP client library
> for JAVA) everything works.

Can you get a similar dump from that and compare how the data is sent? You can
also use CURLOPT_DEBUGFUNCTION to get a full trace of every single byte
libcurl sends and receives.

Since it works over one of your proxies, since it works for most people and
since it works in test cases all the time, I kind of lean towards that your
proxy is doing something unorthodox.

(I take it "libcurl 7.11." means 7.11.1?)

> POST http://151.92.158.80/UnattendedB2B/UnattendedServer HTTP/1.1
> Host: 151.92.158.80
> Pragma: no-cache
> Accept: */*
> Accept-Language: en-GB
> OSNAME: WINDOWS
> Content-Length: 306
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary
> =----------------------------a8cadb11
> 72fd

This line wrap was made by your pasting, wasn't it?

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-01