Re: http://pear.php.net/get/nonexistentfile.tgz returns HTTP/1.1 200 OK
| From: | Martin Jansen | Date: | Wed, 27 Aug 2003 06:57:00 +0000 |
| Subject: | Re: http://pear.php.net/get/nonexistentfile.tgz returns HTTP/1.1 200 OK | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-478@lists.php.net to get a copy of this message | ||
On Tue Aug 26, 2003 at 09:1627PM -0400, Greg Beaver wrote:
> pear revert PhpDocumentor 1.1.9
>
> would attempt to install phpDocumentor from
> http://pear.php.net/get/PhpDocumentor-1.1.9.tgz
>
> Unfortunately, my scheme doesn't work because /get returns an OK code no
> matter what. My question is should this be changed? I can use two
> other tests to determine success, but it also breaks pear install. The
> error only occurs if the package name exists, but the version number
> does not (PhpDocumentor exists, version 1.1.9 does not). I'm attaching
> headers grabbed from netdemon below
Returning a 404 error should not break anything. Do you want to provide
a patch or should I have a look at the stuff?
--
- Martin Martin Jansen
http://martinjansen.com/