projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[system.net.http] Accept header with multiple values. Fixes #27352
[mono.git]
/
mcs
/
class
/
System.Net.Http
/
System.Net.Http.Headers
/
HttpRequestHeaders.cs
diff --git
a/mcs/class/System.Net.Http/System.Net.Http.Headers/HttpRequestHeaders.cs
b/mcs/class/System.Net.Http/System.Net.Http.Headers/HttpRequestHeaders.cs
index 8f512c6cd33eda0f68afdd8058794cc2be512db8..4f6ceeef8e96102c57d94a4f3714ec3ea9fd6b3c 100644
(file)
--- a/
mcs/class/System.Net.Http/System.Net.Http.Headers/HttpRequestHeaders.cs
+++ b/
mcs/class/System.Net.Http/System.Net.Http.Headers/HttpRequestHeaders.cs
@@
-315,7
+315,7
@@
namespace System.Net.Http.Headers
internal void AddHeaders (HttpRequestHeaders headers)
{
foreach (var header in headers) {
- AddWithoutValidation (header.Key, header.Value);
+
Try
AddWithoutValidation (header.Key, header.Value);
}
}
}