Steven Morgan | 7 Aug 2008 10:15
Picon
Favicon

RE: Getting Raw Response

lol - fair comments.
 
It appears although I made the mistake of not checking my cURL version hence not noticing any visible change in output.

Thanks for your help.
 
Cheers,
 
Steve



> Date: Thu, 7 Aug 2008 09:20:05 +0200
> From: daniel <at> haxx.se
> To: curl-and-php <at> cool.haxx.se
> Subject: RE: Getting Raw Response
>
> On Wed, 6 Aug 2008, Steven Morgan wrote:
>
> > Is it possible to disable cURL Content Decoding without disabling the cURL
> > Transfer Decoding?
>
> Yes, that's why they are two separate options.
>
> > Are these supported in PHP 5.2.5?
>
> I have no idea.
>
> > I just tried setting to both 0 and false and observed no change in output,
> > despite the Transfer-encoding header being received as "chunked". Where
> > content is received in a "chunked" state and CURLOPT_HTTP_CONTENT_DECODING
> > set to false, I'm assuming it should not be possible to display cURLS output
> > correctly in a browser? (This was my mini test hitting google.com that's why
> > I ask).
>
> Well, chunked encoding will just give you a few extra hexadecimal numbers in
> the body, the rest should look normal.
>
> > What is the best way to ensure these settings have been applied?
>
> You "ensure" options are set by setting them... How else would it be done?
>
> --
>
> / daniel.haxx.se
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php


Win £3000 to spend on whatever you want at Uni! Click here to WIN!
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

Gmane