dart-sdk/sdk_nnbd/lib
Zichang Guo 91a3ea89c8 Revert "[dart:io] Stop forcing lower case on HttpHeaders"
This reverts commit b2b7337ad4.

Reason for revert: flutter build broke!!

Original change's description:
> [dart:io] Stop forcing lower case on HttpHeaders
> 
> This is a breaking change. Request: https://github.com/dart-lang/sdk/issues/33501
> 
> HttpHeaders use lowercase by default for all headers, since it is supposed to be case insensitive. Some servers incorrectly treat case as significant, however, and expect headers with capitalization or in uppercase. The current implementation forces headers to be lower cases when adding values. Users cannot even manually modify the headers.
> 
> This change removes this restriction here so that users can modify the headers to whatever form they want. The new behavior is backwards compatible except if class was implemented. All headers inside http.dart are written as lower cases, adding values to HttpHeaders is still receiving lower cases input.
> 
> The other cl (https://dart-review.googlesource.com/c/http_multi_server/+/121411) migrates multi_headers.dart to be compatible with this change.
> 
> Bug: https://github.com/dart-lang/sdk/issues/33501
> Change-Id: I6f7f2ef907b229773c283140c07f2de4cd500981
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119100
> Commit-Queue: Zichang Guo <zichangguo@google.com>
> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>

TBR=whesse@google.com,sortie@google.com,lrn@google.com,zichangguo@google.com

Change-Id: I4d4299393ad6549b250053df8823e726855e2baf
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/dart-lang/sdk/issues/33501
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134102
Reviewed-by: Zichang Guo <zichangguo@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
2020-01-31 22:32:22 +00:00
..
_http Revert "[dart:io] Stop forcing lower case on HttpHeaders" 2020-01-31 22:32:22 +00:00
_internal [dart2js] Use flags to choose between legacy/NNBD in RTI. 2020-01-31 20:04:52 +00:00
async Avoid implicit downcast in nnbd sdk 2020-01-31 11:58:31 +00:00
cli [Dart/CLI] : Migrate dart:cli for NNBD. 2020-01-14 18:23:36 +00:00
collection Stop using List() constructor in NNBD code. 2020-01-24 15:59:29 +00:00
convert Fix based64 decoder. 2020-01-31 19:00:32 +00:00
core Updating iterable.current comments and behavior to be consistent. 2020-01-24 17:35:39 +00:00
developer [test] Run some service tests in AOT. 2020-01-23 17:52:40 +00:00
ffi [vm/ffi] Migrate dart:ffi to nnbd 2020-01-15 09:47:44 +00:00
html Handle invalid overrides in template and src dart files 2020-01-29 22:22:50 +00:00
indexed_db/dart2js Changing the dart:html generator scripts to generate null-safe/nnbd code 2020-01-29 00:20:42 +00:00
internal Updating iterable.current comments and behavior to be consistent. 2020-01-24 17:35:39 +00:00
io [vm] seperate error and unknown types for getStdioHandletype 2020-01-31 17:07:22 +00:00
isolate [VM/patch libraries] - Fix analyzer errors/warnings. 2020-01-18 02:37:08 +00:00
js [nnbd] remove opt-out for dart:_js 2020-01-22 21:39:56 +00:00
js_util [nnbd] port dart:js_util to nnbd 2020-01-17 01:19:35 +00:00
math Update math.dart:atan2 in relation to atan comment - Follow-up for sdk_nnbd 2019-12-16 12:49:27 +00:00
mirrors [lib] Be explicit about the type parameter for positional argument lists. 2020-01-22 21:36:03 +00:00
svg/dart2js Changing the dart:html generator scripts to generate null-safe/nnbd code 2020-01-29 00:20:42 +00:00
typed_data Update typed-data constructor documentation. 2020-01-24 09:53:26 +00:00
vmservice [ dart:vmservice ] Cleanup dart:vmservice to better conform to recommended Dart styling 2020-01-16 17:46:04 +00:00
wasm [vm, library] Migrate dart:wasm to NNBD 2020-01-14 17:55:55 +00:00
web_audio/dart2js Handle invalid overrides in template and src dart files 2020-01-29 22:22:50 +00:00
web_gl/dart2js Changing the dart:html generator scripts to generate null-safe/nnbd code 2020-01-29 00:20:42 +00:00
web_sql/dart2js Changing the dart:html generator scripts to generate null-safe/nnbd code 2020-01-29 00:20:42 +00:00
libraries.json [nnbd] port web patch files for dart:isolate 2020-01-17 23:21:26 +00:00
libraries.yaml [nnbd] port web patch files for dart:isolate 2020-01-17 23:21:26 +00:00
vmservice_libraries.json [ VM / dart:vmservice ] Migrate dart:vmservice to NNBD, cleanup outdated code 2020-01-15 01:00:34 +00:00
vmservice_libraries.yaml [ VM / dart:vmservice ] Migrate dart:vmservice to NNBD, cleanup outdated code 2020-01-15 01:00:34 +00:00