Unverified Commit 0be9127d authored by ZichangG's avatar ZichangG Committed by GitHub

add preserveHeaderCase for classes extends HttpHeaders (#49766)

parent 169529c3
......@@ -499,7 +499,7 @@ class _MockHttpHeaders extends HttpHeaders {
List<String> operator [](String name) => <String>[];
@override
void add(String name, Object value) { }
void add(String name, Object value, {bool preserveHeaderCase = false}) { }
@override
void clear() { }
......@@ -517,7 +517,7 @@ class _MockHttpHeaders extends HttpHeaders {
void removeAll(String name) { }
@override
void set(String name, Object value) { }
void set(String name, Object value, {bool preserveHeaderCase = false}) { }
@override
String value(String name) => null;
......
......@@ -622,7 +622,7 @@ class FakeHttpHeaders extends HttpHeaders {
List<String> operator [](String name) => <String>[];
@override
void add(String name, Object value) { }
void add(String name, Object value, {bool preserveHeaderCase = false}) { }
@override
void clear() { }
......@@ -640,7 +640,7 @@ class FakeHttpHeaders extends HttpHeaders {
void removeAll(String name) { }
@override
void set(String name, Object value) { }
void set(String name, Object value, {bool preserveHeaderCase = false}) { }
@override
String value(String name) => null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment