Getting RSS feeds should send "If-Modified-Since" header

RESOLVED FIXED

Status

MailNews Core
Feed Reader
--
enhancement
RESOLVED FIXED
13 years ago
8 years ago

People

(Reporter: Hama, Assigned: Scott MacGregor)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla Thunderbird 0.9 (Windows/20041103)

Thunderbird downloads all of feeds whether or not it is modified since last
download.
If HTTP request includes "If-Modified-Since" header, the server may return "304
Not Modified" response with no contents.
This can save traffic and time of download.

Reproducible: Always
Steps to Reproduce:
(Assignee)

Updated

12 years ago
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Thunderbird1.1
(Assignee)

Comment 1

12 years ago
Created attachment 181213 [details] [diff] [review]
the fix

1) After downloading a feed, we now look for a "Last-Modified" response header
from the server. If we find one, we remember it as an RDF property on the feed.


2) Before downloading a feed, we look for a stored Last-Modified header in the
data source. If we find one, we set a "If-Modified-Since" request header before
opening the request.

3) Handle Not Modified responsese from the server and show an appropriate
message in the status bar instead of treating it like an error.
(Assignee)

Updated

12 years ago
Attachment #181213 - Flags: superreview?(bienvenu)

Updated

12 years ago
Attachment #181213 - Flags: superreview?(bienvenu) → superreview+
(Assignee)

Updated

12 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED

Updated

8 years ago
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Target Milestone: Thunderbird1.1 → ---
You need to log in before you can comment on or make changes to this bug.