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 { ...@@ -499,7 +499,7 @@ class _MockHttpHeaders extends HttpHeaders {
List<String> operator [](String name) => <String>[]; List<String> operator [](String name) => <String>[];
@override @override
void add(String name, Object value) { } void add(String name, Object value, {bool preserveHeaderCase = false}) { }
@override @override
void clear() { } void clear() { }
...@@ -517,7 +517,7 @@ class _MockHttpHeaders extends HttpHeaders { ...@@ -517,7 +517,7 @@ class _MockHttpHeaders extends HttpHeaders {
void removeAll(String name) { } void removeAll(String name) { }
@override @override
void set(String name, Object value) { } void set(String name, Object value, {bool preserveHeaderCase = false}) { }
@override @override
String value(String name) => null; String value(String name) => null;
......
...@@ -622,7 +622,7 @@ class FakeHttpHeaders extends HttpHeaders { ...@@ -622,7 +622,7 @@ class FakeHttpHeaders extends HttpHeaders {
List<String> operator [](String name) => <String>[]; List<String> operator [](String name) => <String>[];
@override @override
void add(String name, Object value) { } void add(String name, Object value, {bool preserveHeaderCase = false}) { }
@override @override
void clear() { } void clear() { }
...@@ -640,7 +640,7 @@ class FakeHttpHeaders extends HttpHeaders { ...@@ -640,7 +640,7 @@ class FakeHttpHeaders extends HttpHeaders {
void removeAll(String name) { } void removeAll(String name) { }
@override @override
void set(String name, Object value) { } void set(String name, Object value, {bool preserveHeaderCase = false}) { }
@override @override
String value(String name) => null; 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