Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
0be9127d
Unverified
Commit
0be9127d
authored
Jan 30, 2020
by
ZichangG
Committed by
GitHub
Jan 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add preserveHeaderCase for classes extends HttpHeaders (#49766)
parent
169529c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
_binding_io.dart
packages/flutter_test/lib/src/_binding_io.dart
+2
-2
testbed.dart
packages/flutter_tools/test/src/testbed.dart
+2
-2
No files found.
packages/flutter_test/lib/src/_binding_io.dart
View file @
0be9127d
...
@@ -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
;
...
...
packages/flutter_tools/test/src/testbed.dart
View file @
0be9127d
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment