cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: Getting Raw Response

From: Steven Morgan <gatecrasher1981_at_hotmail.com>
Date: Thu, 7 Aug 2008 08:15:03 +0000

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@haxx.se> To: curl-and-php@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 New York holidays with Kellogg’s & Live Search
http://clk.atdmt.com/UKM/go/107571440/direct/01/

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-08-07