Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Issue 5901045: code review 5901045: net/http/fs.go: Changed the placement of call to checkL...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by haavid
Modified:
11 years, 9 months ago
Reviewers:
rsc, bradfitz
CC:
golang-dev
Visibility:
Public.

Description

net/http/fs.go: Changed the placement of call to checkLastModified. It is being called too early, causing it to check the directory itself rather than the index file, which it should if there is one. This causes a return of "304 Not Modified" status and stale index pages on the client side.

Patch Set 1 #

Patch Set 2 : diff -r baeb068aac25 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r baeb068aac25 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M src/pkg/net/http/fs.go View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8
haavid
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 1 month ago (2012-03-24 23:06:26 UTC) #1
bradfitz
Thanks! Without looking into this yet, this is believably valid, and looks low-risk. We're very ...
12 years, 1 month ago (2012-03-25 00:55:09 UTC) #2
rsc
Let's leave this for after Go 1. At this point I'd rather ship with minor ...
12 years, 1 month ago (2012-03-26 13:14:36 UTC) #3
haavid
There is certainly is a big day coming up, and this isn't a serious error. ...
12 years, 1 month ago (2012-03-28 00:16:25 UTC) #4
rsc
Are you interested in writing a test for this and getting it in, now that ...
11 years, 11 months ago (2012-06-03 04:48:39 UTC) #5
haavid
On 2012/06/03 04:48:39, rsc wrote: > Are you interested in writing a test for this ...
11 years, 11 months ago (2012-06-09 16:56:50 UTC) #6
bradfitz
On Sat, Jun 9, 2012 at 9:56 AM, <haavid@falch.net> wrote: > On 2012/06/03 04:48:39, rsc ...
11 years, 11 months ago (2012-06-11 15:45:24 UTC) #7
bradfitz
11 years, 9 months ago (2012-07-30 00:53:20 UTC) #8
Ignore all this.  I was trying to use the keyboard to scroll the page, but
JavaScript onselectionchanged in the drop-down was running instead.

This CL is old.


On Sun, Jul 29, 2012 at 5:50 PM, <bradfitz@golang.org> wrote:

> R=nigeltao
>
> (sent by gocodereview)
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b