#14 problem with CR/LF in etag

open
nobody
None
5
2004-08-01
2004-08-01
Vic Ricker
No

Hi. I think this might really be a problem with Snoopy
but I thought I'd share it with you.

I have been having a problem with caching a feed from a
friend's site. After a ton of debugging and no luck, I
fired up tcpdump and saw the problem right away. I
noticed that there were two CR/LFs after the
If-None-Match header field, ending the HTTP header
before the Last-Modified entry.

I fixed the problem in rss_fetch.inc by changing

$rss->etag = $val;

to

$rss->etag=trim($val);

Take care,
-Vic

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks