Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mike's Blog:
PECL HTTP, Lap 12
Aug 29, 2005 @ 10:47:07

On Mike's weblog today, there's his latest post with a look at some of his work with the PECL HTTP extension - and the release of version 0.12.

A lot of work and fixes have gone into it, and I hope it's becoming stable even this century ;)

Major changes are a general API cleanup where AuthBasic hooks have been removed and many HttpRequest methods have been sanitized. The HttpResponse class should now work with PHP5 as a webserver module as well and should not any longer have hard dependencies on ext/session and ext/zlib.

Additionally, if you have libmhash (note: not necessarily ext/mhash) you can choose a hashing algorithm provided by libmhash to generate your ETags. The message and header parsers have been vastly improved to be able to parse (in principle invalid) messages and headers that only have a single LF instead of CRLF.

And last but not least it should again flawlessly build for PHP4.

Just looking over this package, I can tell that there's been a lot of work put into it...keep up the great work Mike!

tagged:

Link:


Trending Topics: