Downloading a file should send Last-Modified

Bug #503144 reported by lborgman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead
Triaged
Low
Unassigned
loggerhead-breezy
Triaged
Medium
Unassigned

Bug Description

When downloading a single file from a repository, the Last-Modified header is missing.

Try for example here and click the download link on that page:

  http://bazaar.launchpad.net/~nxhtml/nxhtml/main/annotate/head%3A/web-vcs.el

The missing Last-Modified header means that the downloaded file will have the date when downloading was done, not when the file was modified in the repository.

Curtis Hovey (sinzui)
affects: launchpad → launchpad-code
Changed in launchpad-code:
importance: Undecided → Low
status: New → Triaged
Tim Penhey (thumper)
affects: launchpad-code → loggerhead
Revision history for this message
lborgman (lennart-borgman) wrote :

Uhum, why is sett ing the wrong date on versioned file of low importance? Can't it screw up things quite a bit on the users side?

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 503144] Re: Downloading a file should send Last-Modified

2010/1/5 lborgman <email address hidden>:
> Uhum, why is sett ing the wrong date on versioned file of low
> importance? Can't it screw up things quite a bit on the users side?

Can it? What is the scenario where you're relying on this behavior?

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
lborgman (lennart-borgman) wrote :

On Tue, Jan 5, 2010 at 4:22 AM, Martin Pool <email address hidden> wrote:
> 2010/1/5 lborgman <email address hidden>:
>> Uhum, why is sett ing the wrong date on versioned file of low
>> importance? Can't it screw up things quite a bit on the users side?
>
> Can it?  What is the scenario where you're relying on this behavior?

They may for example downlad a file from a certain revision on the web
interface and try to find out if those files are newer or older than
those they have got from for example a zip file they downloaded
elsewhere.

I would expect that it is easy to fix this problem on the server side.
Is there anything that stops you from doing this?

> Martin <http://launchpad.net/~mbp/>
>
> --
> Downloading a file should send Last-Modified
> https://bugs.launchpad.net/bugs/503144
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Loggerhead: Triaged
>
> Bug description:
> When downloading a single file from a repository, the Last-Modified header is missing.
>
> Try for example here and click the download link on that page:
>
>  http://bazaar.launchpad.net/~nxhtml/nxhtml/main/annotate/head%3A/web-vcs.el
>
> The missing Last-Modified header means that the downloaded file will have the date when downloading was done, not when the file was modified in the repository.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/loggerhead/+bug/503144/+subscribe
>

Jelmer Vernooij (jelmer)
Changed in loggerhead-breezy:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.