cURL / Mailing Lists / curl-users / Single Mail

curl-users

No output with querystring

From: Thomas Klimpel <tk_at_ks-mobil.de>
Date: Tue, 16 Nov 2004 13:07:47 +0100

Hello,

Im working on a programm which is fetching specific content from a server
with curl. All files are only accessibly via https. My programm logs into
the site, makes some POSTS and GETS and works really fine. Until it have to
call this url:

[HOST]/cgi-bin/WebObjects/TMKsaA.woa?ps=05091100596914642XXsRVk&pc=6&vps=7Mo
M4b6RD7B1RoIrcQKWqM&Portal=POS .

It will work probably in the browser but not with curl.

The output is:

[2] 26154
[3] 26155
[4] 26156
[1] Done curl
[HOST]/cgi-bin/WebObjects/TMKsaA.woa?ps=05091100596914642XXsRVk
[2] Done curl
[HOST]/cgi-bin/WebObjects/TMKsaA.woa?ps=05091100596914642XXsRVk
[3]- Done pc=6
[4]+ Done vps=7MoM4b6RD7B1RoIrcQKWqM

1. What does this say to me?

2. if I use --trace-ascii i get:

== Info: About to connect() to [HOST] port 443
== Info: Trying [IP]... == Info: connected
== Info: Connected to [HOST] ([IP]) port 443
== Info: successfully set certificate verify locations:
== Info: CAfile: /usr/local/share/curl/curl-ca-bundle.crt
CApath: none
== Info: SSL connection using RC4-MD5
== Info: Server certificate:
== Info: subject: /C=DE/ST=NRW/L=****/O=***** CDS GmbH/OU=MCSMMB/OU=Terms of
use at www.verisign.com/rpa (c)00/CN=[HOST]
== Info: start date: 2004-09-01 00:00:00 GMT
== Info: expire date: 2005-09-01 23:59:59 GMT
== Info: common name: [HOST] (matched)
== Info: issuer: /O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign
International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref.
LIABILITY LTD.(c)97 VeriSign
== Info: SSL certificate verify ok.
=> Send header, 226 bytes (0xe2)
0000: GET /cgi-bin/WebObjects/TMKsaA.woa?ps=05091100596914642XXsRVk HT
0040: TP/1.1
0048: User-Agent: curl/7.12.2 (i586-pc-linux-gnu) libcurl/7.12.2 OpenS
0088: SL/0.9.6b zlib/1.1.4
009e: Host: [HOST]
00c1: Pragma: no-cache
00d3: Accept: */*
00e0:
<= Recv header, 20 bytes (0x14)
0000: HTTP/1.1 302 Apple
<= Recv header, 33 bytes (0x21)
0000: Server: Netscape-Enterprise/6.0
<= Recv header, 37 bytes (0x25)
0000: Date: Tue, 16 Nov 2004 09:46:18 GMT
<= Recv header, 19 bytes (0x13)
0000: Content-length: 0
<= Recv header, 25 bytes (0x19)
0000: Content-type: text/html
<= Recv header, 40 bytes (0x28)
0000: Expires: Tue, 16 Nov 2004 09:46:17 GMT
<= Recv header, 81 bytes (0x51)
0000: Location: [HOST]
0040: MWpoWbcPortalAP
<= Recv header, 19 bytes (0x13)
0000: Connection: close
<= Recv header, 19 bytes (0x13)
0000: Connection: close
== Info: Closing connection #0

But why do I get no content? Does it depend on the querystring ?ps= ...?

Any Help?

Cu
Tom
Received on 2004-11-16