On May 18, 2005, at 7:07 PM, Jared Williams wrote:
Heh, yes indeed most baffling... Libxml must be performing some
sort of cacheing, I guess. Doesn't appear to be requesting twice
(once with the if-modified-since header, and again without atleast)
well, thanks for the confirm on that. I thought o
> -Original Message-
> From: Bill Hoffman [mailto:[EMAIL PROTECTED]
> Sent: 19 May 2005 00:46
> To: php-general@lists.php.net
> Subject: Re: [PHP] libxml_set_streams_context
>
>
> On May 18, 2005, at 4:10 PM, Jared Williams wrote:
>
> > Sure the ser
On May 18, 2005, at 4:10 PM, Jared Williams wrote:
Sure the server is checking if modified since headers?
I'm capturing the response headers from the remote server, so I can
see that.
Just tried a bit of code here and it seems to be working as
expected (5.0.4 Win32)
1) I made an initial mistak
>
> I'm trying to use libxml_set_streams_context() to load a
> remote xml file via HTTP conditional GET with
> DOMDocument::load() by stuffing an
> 'If-Modified-Since: --- " HTTP header into the stream, but no
> matter how I try it I always get an HTTP 200 response when I
> know the last- modi
On May 18, 2005, at 1:20 PM, Richard Lynch wrote:
*YOU* have check their return value to see if it's 'false' or -1 or
0 and,
if so, *YOU* have to call another function to get the error message
and
error code.
This is what I am suggesting is missing big-time in your code.
Yes, you made your poi
On Tue, May 17, 2005 11:12 pm, Bill Hoffman said:
>
>
> On May 17, 2005, at 10:24 PM, Richard Lynch wrote:
>
>> I don't know much about that fancy new stream stuff, or the XML
>> crap, but
>> you've got zero (0) lines of code in there to do anything useful
>> when the
>> functions fail.
>
> no func
On May 17, 2005, at 10:24 PM, Richard Lynch wrote:
I don't know much about that fancy new stream stuff, or the XML
crap, but
you've got zero (0) lines of code in there to do anything useful
when the
functions fail.
no functions fail.
what I'm expecting is that with libxml_set_streams_context()
On Tue, May 17, 2005 9:03 pm, Bill Hoffman said:
> I'm trying to use libxml_set_streams_context() to load a remote xml
> file via HTTP conditional GET with DOMDocument::load() by stuffing an
> 'If-Modified-Since: --- " HTTP header into the stream, but no matter
> how I try it I always get an HTTP 2
8 matches
Mail list logo