Reply to Re: Disallow "HTTP chunked" transfer !

Your name:

Reply:


Posted by lazypig06@gmail.com on 06/22/06 21:57

Hi Andy,

Thanks a lot for your response. My code works when I use HTTP 1.0 Raw
request with fsockopen.

Lazy Pig

Andy Hassall wrote:
> On 22 Jun 2006 09:53:17 -0700, "lazypig06@gmail.com" <lazypig06@gmail.com>
> wrote:
>
> >Yesterday, I posted a topic regarding to XML problem that I've been
> >having. The old topic can be found at:
> >http://groups.google.com/group/comp.lang.php/browse_thread/thread/401e2b5cb251c21/8a0eeb03626018f4?lnk=st&q=lazypig06%40gmail.com&rnum=1&hl=en#8a0eeb03626018f4
> >
> >Thanks to Álvaro G. Vicario for pointing out "chunked" transfer thing.
> >Anyway, I tried to avoid "chunked" transfer in HTTP protocol. I have
> >looked at "transfer-encoding" on the web, but it doesn't help much.
> >What value/variable should I specify in HTTP request to ask the server
> >not using "chunked" transfer ?
> >
> >If anyone experienced this problem/ know how to do this, please share
> >your thought. Any help would be greatly appreciated.
>
> HTTP/1.1 clients _must_ be able to accept and decode chunked transfer
> encoding. If you are making an HTTP/1.1 request to fetch the data, then its a
> bug in your code if you do not handle it. Are you doing raw requests using
> fsockopen() etc.?
>
> Some options:
>
> (1) Implement chunked transfer encoding decoding.
> (2) Use a library that implements this for you, rather than rolling your own
> HTTP client (e.g. cURL, or PHP fopen wrappers).
> (3) Make HTTP/1.0 requests instead.
>
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация