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

Issue 694293002: Only lower-case ContentType's values if the name is 'charset'. (Closed)

Created:
6 years, 1 month ago by Anders Johnsen
Modified:
6 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Only lower-case ContentType's values if the name is 'charset'. BUG=https://code.google.com/p/dart/issues/detail?id=21385 R=lrn@google.com, sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=41456

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -7 lines) Patch
M sdk/lib/io/http.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
M sdk/lib/io/http_headers.dart View 2 chunks +9 lines, -1 line 0 comments Download
M tests/standalone/io/http_headers_test.dart View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Anders Johnsen
6 years, 1 month ago (2014-11-03 10:45:33 UTC) #2
Søren Gjesse
LGTM, thanks
6 years, 1 month ago (2014-11-03 10:47:27 UTC) #3
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/694293002/diff/1/sdk/lib/io/http.dart File sdk/lib/io/http.dart (right): https://codereview.chromium.org/694293002/diff/1/sdk/lib/io/http.dart#newcode755 sdk/lib/io/http.dart:755: * converted to lower case, only if the ...
6 years, 1 month ago (2014-11-03 10:51:17 UTC) #4
Anders Johnsen
Committed patchset #2 (id:20001) manually as 41456 (presubmit successful).
6 years, 1 month ago (2014-11-03 12:34:14 UTC) #5
Anders Johnsen
6 years, 1 month ago (2014-11-03 12:38:29 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/694293002/diff/1/sdk/lib/io/http.dart
File sdk/lib/io/http.dart (right):

https://codereview.chromium.org/694293002/diff/1/sdk/lib/io/http.dart#newcode755
sdk/lib/io/http.dart:755: * converted to lower case, only if the parameter name
is 'charset'.
On 2014/11/03 10:51:17, Lasse Reichstein Nielsen wrote:
> Change last sentence to:
> "The `charset` entry, whether passed as `charset` or in `parameters`, will
have
> its value converted to lower-case."
> 
> Talking about "Values ... will be converted ... only if (single case)" makes
the
> plurality of "Values" sound odd.

Done.

Powered by Google App Engine
This is Rietveld 408576698