Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Issue 300023003: pkg/shelf - send Date header in shelf_io (Closed)

Created:
6 years, 7 months ago by kevmoo
Modified:
6 years, 7 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

pkg/shelf - send Date header in shelf_io R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=36709

Patch Set 1 #

Patch Set 2 : only expose option on util method #

Total comments: 6

Patch Set 3 : updates #

Total comments: 4

Patch Set 4 : final tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -1 line) Patch
M pkg/shelf/CHANGELOG.md View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/shelf/README.md View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/shelf/lib/shelf_io.dart View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/shelf/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M pkg/shelf/test/shelf_io_test.dart View 1 2 3 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kevmoo
6 years, 7 months ago (2014-05-25 05:31:38 UTC) #1
nweiz
This needs a CHANGELOG entry. The adapter rules should also be updated to explain how ...
6 years, 7 months ago (2014-05-27 19:52:43 UTC) #2
kevmoo
PTAL https://codereview.chromium.org/300023003/diff/20001/pkg/shelf/lib/shelf_io.dart File pkg/shelf/lib/shelf_io.dart (right): https://codereview.chromium.org/300023003/diff/20001/pkg/shelf/lib/shelf_io.dart#newcode58 pkg/shelf/lib/shelf_io.dart:58: /// `true`. On 2014/05/27 19:52:44, nweiz wrote: > ...
6 years, 7 months ago (2014-05-27 20:50:58 UTC) #3
nweiz
lgtm https://codereview.chromium.org/300023003/diff/40001/pkg/shelf/CHANGELOG.md File pkg/shelf/CHANGELOG.md (right): https://codereview.chromium.org/300023003/diff/40001/pkg/shelf/CHANGELOG.md#newcode3 pkg/shelf/CHANGELOG.md:3: * The `shelf_io` adapter nows send the `Date` ...
6 years, 7 months ago (2014-05-27 21:06:47 UTC) #4
kevmoo
Committed patchset #4 manually as r36709 (presubmit successful).
6 years, 7 months ago (2014-05-27 21:10:35 UTC) #5
kevmoo
6 years, 7 months ago (2014-05-27 21:10:58 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/300023003/diff/40001/pkg/shelf/CHANGELOG.md
File pkg/shelf/CHANGELOG.md (right):

https://codereview.chromium.org/300023003/diff/40001/pkg/shelf/CHANGELOG.md#n...
pkg/shelf/CHANGELOG.md:3: * The `shelf_io` adapter nows send the `Date` HTTP
header.
On 2014/05/27 21:06:47, nweiz wrote:
> "nows" -> "now"
> 
> I'd say "now automatically sends the `Date` HTTP by default."

Done.

https://codereview.chromium.org/300023003/diff/40001/pkg/shelf/test/shelf_io_...
File pkg/shelf/test/shelf_io_test.dart (right):

https://codereview.chromium.org/300023003/diff/40001/pkg/shelf/test/shelf_io_...
pkg/shelf/test/shelf_io_test.dart:258: // update beforeRequest to be one second
earlier. Accounts for second
On 2014/05/27 21:06:47, nweiz wrote:
> "update" -> "Update"
> 
> "Accounts for second resolution in HTTP Date" -> "HTTP dates only have
> second-level granularity, and the request will probably take less than a
> second."

Done.

Powered by Google App Engine
This is Rietveld 408576698