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

Issue 227563010: pkg/shelf: case-insensitive headers, cleaner Request ctor, a lot more tests (Closed)

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

Description

pkg/shelf: case-insensitive headers, cleaner Request ctor, a lot more tests R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=34852

Patch Set 1 #

Total comments: 41

Patch Set 2 : nit #

Patch Set 3 : all the changes #

Patch Set 4 : removing things from Request #

Total comments: 4

Patch Set 5 : fixing dependent code, changelog #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -268 lines) Patch
M pkg/scheduled_test/lib/scheduled_server.dart View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/scheduled_test/lib/scheduled_test.dart View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M pkg/scheduled_test/lib/src/scheduled_server/handler.dart View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/scheduled_test/pubspec.yaml View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/shelf/CHANGELOG.md View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/shelf/README.md View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M pkg/shelf/example/example_server.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/shelf/lib/shelf_io.dart View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M pkg/shelf/lib/src/handlers/logger.dart View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M pkg/shelf/lib/src/message.dart View 1 2 3 chunks +22 lines, -3 lines 0 comments Download
M pkg/shelf/lib/src/request.dart View 1 2 3 4 3 chunks +79 lines, -34 lines 0 comments Download
M pkg/shelf/lib/src/response.dart View 1 2 3 chunks +7 lines, -9 lines 0 comments Download
M pkg/shelf/pubspec.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + pkg/shelf/test/message_test.dart View 1 2 4 chunks +57 lines, -44 lines 0 comments Download
M pkg/shelf/test/request_test.dart View 1 2 3 3 chunks +103 lines, -72 lines 0 comments Download
M pkg/shelf/test/response_test.dart View 3 chunks +0 lines, -74 lines 0 comments Download
M pkg/shelf/test/shelf_io_test.dart View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M pkg/shelf/test/test_util.dart View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/oauth2.dart View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/test_pub.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
kevmoo
https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/request.dart File pkg/shelf/lib/src/request.dart (right): https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/request.dart#newcode17 pkg/shelf/lib/src/request.dart:17: final Uri uri; open for discussion on the name ...
6 years, 8 months ago (2014-04-08 02:21:05 UTC) #1
nweiz
https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/message.dart File pkg/shelf/lib/src/message.dart (right): https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/message.dart#newcode12 pkg/shelf/lib/src/message.dart:12: import 'package:collection/wrappers.dart' as pc show UnmodifiableMapView; There's never a ...
6 years, 8 months ago (2014-04-08 20:23:08 UTC) #2
kevmoo
PTAL https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/message.dart File pkg/shelf/lib/src/message.dart (right): https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/message.dart#newcode12 pkg/shelf/lib/src/message.dart:12: import 'package:collection/wrappers.dart' as pc show UnmodifiableMapView; On 2014/04/08 ...
6 years, 8 months ago (2014-04-08 21:41:13 UTC) #3
kevmoo
PTAL
6 years, 8 months ago (2014-04-08 21:50:25 UTC) #4
nweiz
lgtm https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/request.dart File pkg/shelf/lib/src/request.dart (right): https://codereview.chromium.org/227563010/diff/1/pkg/shelf/lib/src/request.dart#newcode32 pkg/shelf/lib/src/request.dart:32: String get queryString => uri.query; On 2014/04/08 21:41:13, ...
6 years, 8 months ago (2014-04-08 22:52:43 UTC) #5
kevmoo
https://codereview.chromium.org/227563010/diff/60001/pkg/shelf/lib/src/request.dart File pkg/shelf/lib/src/request.dart (right): https://codereview.chromium.org/227563010/diff/60001/pkg/shelf/lib/src/request.dart#newcode104 pkg/shelf/lib/src/request.dart:104: throw new ArgumentError('pathInfo must be empty or start with ...
6 years, 8 months ago (2014-04-08 23:23:03 UTC) #6
kevmoo
6 years, 8 months ago (2014-04-08 23:23:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r34852 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698