Re: HTTP_download -If-Modified-Since (->304) does not work

From: Date: Fri, 19 Dec 2003 21:27:35 +0000
Subject: Re: HTTP_download -If-Modified-Since (->304) does not work
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24561@lists.php.net to get a copy of this message
Michael Wallner wrote:
Hi Andreas Korthaus, you wrote:
But should "raise error" be used for logging? Perhaps I should not exit after each raise-error? btw., the error which happend there was not raised, it was a sucess message, but it did not succeed in reality.
Sorry, I didn't understand fully what you're talking about, but let me try to explan a bit: o If HTTP_Download is going to send _nothing_ to the client, it will raise an error. o HTTP_Download is broken if used with HTTP_Header-0.1.5 The patch corrects the latter until I've figured out what Wolfram intended with the currently funny implementation of HTTP_Header::sendStatusCode(), AFAIR this was patched Davey.
Indeed, I see the problem, working on a patch now. Sorry about this. The difference is I changed the value of the constants, but didn't take that into account when I patched the HTTP_Header::sendStatusCode() method. - Davey

« previous php.pear.dev (#24561) next »