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

From: Date: Fri, 19 Dec 2003 18:15:59 +0000
Subject: Re: HTTP_download -If-Modified-Since (->304) does not work
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24550@lists.php.net to get a copy of this message
Hi Andreas Korthaus, you wrote: > Hi! > > "Michael Wallner" <mike@php.net> wrote > >>Seems that the signature of this method has changed, prior versions >>allowed to pass the HTTP_HEADER_STATUS_* constants. > > OK, so I can change this. But this method will stil raise an error. > >>Well, others may log this event, so just check what error has happened. >>I guess it's time to introduce some error constatnts... > > But why using PEAR::raiseError for this? I get the message: "HTTP Cached: > Not Modified", but this is not an error, it is something for logging as you > say. But I use a global PEAR error-handling: > Or is it stupid to do something like that? I just don't like the idea of exiting, but let the user/dev decide... However HTTP_Download seems broken with HTTP_Header-0.1.5! I'll have to talk to Wolfram. Regards, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature]
« previous php.pear.dev (#24550) next »