aaah sounds like a bug ... the underlying Apache HTTPClient isn't decompressing it then.

@Nitish ... a piece of sample of code can speak a thousand words.

Thanks @Adam for checking this out.  I will take a look at it.

Adam Cameron wrote:
This all intrigued me a bit.

If I run this code:

<cfhttp method="get" url="http://www.espncricinfo.com";
result="stHttp">
        <cfhttpparam type="header" name="accept-encoding" value="gzip">
</cfhttp>

<cfdump var="#stHttp#">

On CF8&  CF9 I get a nice webpage in the filecontent key of the
returned struct.

On OBD, BD.NET and Railo, I get the compressed version (ie: useless
gibberish).

I think this might demonstrates Nitish's issue?

--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to