curl-library
Port from URI is not taken
Date: Thu, 30 Aug 2012 18:30:03 +0000
I have a port 8080 in the URI from where I am trying to fetch and store a file. But I see port 80 is taken from the logs. Do I need to use port option to specify?
Using port 80, I am getting the html content instead of intended file. Here are the logs:
< HTTP/1.1 200 OK
< Date: Thu, 30 Aug 2012 18:29:24 GMT
< Server: Apache/2.2.14 (Ubuntu)
< Last-Modified: Tue, 04 Oct 2011 03:23:20 GMT
< ETag: "d-b1-4ae709d01790e"
< Accept-Ranges: bytes
< Content-Length: 177
< Vary: Accept-Encoding
< Content-Type: text/html
<
* Connection #0 to host (nil) left intact
* Re-using existing connection! (#0) with host (nil)
* Connected to (nil) (172.17.0.11) port 80 (#0)
> GET / HTTP/1.1
Host: 172.17.0.11
Accept: */*
Any help would be grateful.
Regards
Sidde
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-30