cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Port from URI is not taken

From: Sidde Gowda <engowdre_at_hotmail.com>
Date: Thu, 30 Aug 2012 21:08:07 +0000

> Date: Thu, 30 Aug 2012 23:03:04 +0200
> From: daniel_at_haxx.se
> To: curl-library_at_cool.haxx.se
> Subject: RE: Port from URI is not taken
>
> On Thu, 30 Aug 2012, Sidde Gowda wrote:
>
> > You are right. I am not saying that libcurl has issues. I sent the options
> > that I am using in the previous email. Did you notice any strange in that
> > code related to using curl options?
>
> Nope.
>
> > But for some reasons, I am only getting the webpage with content html. I
> > also tried to download rfx from www.ietf.org but again got the home page. Do
> > I need to use any special options to get the file? Thanks for replying on
> > this issue.
>
> You get exactly the resource you ask for. The URL you pass to libcurl gets
> converted to a HTTP request and that's what the server gets and responds to.
> libcurl doesn't know any difference between "the HTML" and "the file".
>
> --
>
> / daniel.haxx.se

Thanks Daniel
-Sidde

> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-30