curl-users
Re: Problem in between Win32/Linux distribution
Date: Wed, 26 Jan 2005 11:33:31 +0100
Hey Daniel,
the wired thing is that the curl options are extrem simple. I'm using
a standard curl option with some header addons and the request of a
https site.
Also the response of the server is "normal". In both cases the server
response with a full HTML site.
The only strange thing is that the server seems to interpretert the
Win32 curl request different from the linux based curl request.
When I do it with the Win32 version the request is what I expect. On
Linux the request says that the J2EE session was time outed.
As Chris already pointed out the server is extending all the URL's
with the JSESSIONID which I hand over in the request.
The curl command line I'm using looks like:
D:/Develop/curl/curl.exe -D "C:/temp/110673552141f771a11e699" -H
"User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0" -H "Host: www.myserver.de" -H "Accept:
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"
https://www.myserver.de:443/menu/booking-rh.do;jsessionid=e21b3a8953714df9a27086d38993be95
or under linux
/usr/bin/curl -D "/tmp/110673552141f771a11e699" -H "User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0" -H "Host: www.myserver.de" -H "Accept:
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"
https://www.myserver.de:443/menu/booking-rh.do;jsessionid=e21b3a8953714df9a27086d38993be95
In general the curl requests to the server are working. I also have a
submit and other get which is working fine. It's only this "second"
get based on the same session.
Alex
On Tue, 25 Jan 2005 17:12:10 +0100 (CET), Daniel Stenberg
<daniel-curl_at_haxx.se> wrote:
> On Tue, 25 Jan 2005, akede wrote:
>
> > Now I have the situation that my development moved from my dev environment
> > (Win32) to the productive server (SuSE and RedHat). The curl versions are
> > nearly the same (7.12) with the similar libs included.
>
> Nearly and similar might be what explains this.
>
> Also, without more details on what the command lines or HTTP responses look
> like, it is next to impossible for us to guess what particular issues that
> might be causing this.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
Received on 2005-01-26