Menu

#17 A wrong conditional GET header

open
nobody
None
5
2005-03-14
2005-03-14
Anonymous
No

When setting the header for the conditional GET in file
rss_fetch.inc a wrong header is used:

[...]
$request_headers['If-None-Match'] = $rss->etag;
$request_headers['If-Last-Modified'] = $rss->last_modified;
[...]

The header "if-last-modified" is wrong and should be
"if-modified-since" ('if-last-modified" doesn't mean
anything).

[...]
$request_headers['If-None-Match'] = $rss->etag;
$request_headers['If-Modified-Since'] =
$rss->last_modified;
[...]

Thierry http://pretty-rss.snyke.com
thierry--at--snyke.com

Discussion


Log in to post a comment.