dart-sdk/tests
Alexander Aprelev 6c254fab89 [io/http] Don't add zero-valued content-length header on GET, HEAD, DELETE, CONNECT requests.
Per https://tools.ietf.org/html/rfc7230#section-3.3.2:
"... A user agent SHOULD NOT send a
Content-Length header field when the request message does not contain
a payload body and the method semantics do not anticipate such a
body."

Fixes https://github.com/dart-lang/sdk/issues/45139

Change-Id: I96b735c06038eb3d12a303ee5329228a9b594726
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194881
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2021-06-03 16:14:24 +00:00
..
co19 [co19] Remove Compiler-tear-offs tests from status files. 2021-06-03 10:49:04 +00:00
co19_2 [co19] co19_2 status file cleanup 2021-05-27 08:15:04 +00:00
corelib Correct symbol_reserved_word_test.dart, splitting it into two tests. 2021-06-01 15:55:03 +00:00
corelib_2 Fix test names in corelib/. 2021-05-05 01:06:12 +00:00
dartdevc [ddc] Add a regression test for issue #45874 2021-05-11 22:14:28 +00:00
dartdevc_2 [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
ffi [vm/ffi] Add providesSymbol to DynamicLibrary 2021-06-02 16:01:43 +00:00
ffi_2 [vm/ffi] Add providesSymbol to DynamicLibrary 2021-06-02 16:01:43 +00:00
language Rename some more incorrectly named tests. 2021-06-03 00:49:54 +00:00
language_2 Rename some more incorrectly named tests. 2021-06-03 00:49:54 +00:00
lib Optimize js_util setProperty calls for non-function values to 2021-05-25 19:28:01 +00:00
lib_2 [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
modular [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
standalone [io/http] Don't add zero-valued content-length header on GET, HEAD, DELETE, CONNECT requests. 2021-06-03 16:14:24 +00:00
standalone_2 [io/http] Don't add zero-valued content-length header on GET, HEAD, DELETE, CONNECT requests. 2021-06-03 16:14:24 +00:00
web [dart2js] Pass box to inlined generative constructor body 2021-05-07 22:50:27 +00:00
web_2 [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
legacy_status_dart2js.csv
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.