RE: [PEAR-DEV] package proposal: HTTP_SimpleClient
| From: | LIMBOURG Arnaud | Date: | Wed, 04 Jun 2003 13:40:08 +0000 |
| Subject: | RE: [PEAR-DEV] package proposal: HTTP_SimpleClient | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17006@lists.php.net to get a copy of this message | ||
> It is a valid question. But the class not only wraps around
> HTTP_Request, but also adds some value:
>
> 1) Cookie management. Consider the following: you have to
> authorize to a
> web-application (and receive a session cookie), then fill some forms,
> then get the resultant page.
>
> 2) Redirection support. I know that HTTP_Request now has
> this, too, but:
> a) I don't think that the class that represents a
> *single* request
> should have one
> b) It is buggy.
Shouldn't it be corrected as well then ?
> To sum it up: HTTP_Request is the class to perform *one* request,
> HTTP_SimpleClient is designed to make it easier to perform *multiple*
> requests and to keep/process their results.
Ok, now i understand better ;)
Arnaud.