1 parent cbfbd0d commit 9d32b25Copy full SHA for 9d32b25
1 file changed
src/ServiceStack.Text/HttpUtils.cs
@@ -1400,6 +1400,27 @@ public static class HttpHeaders
1400
public const string Via = "Via";
1401
1402
public const string Warning = "Warning";
1403
+
1404
+ public const string Date = "Date";
1405
+ public const string Host = "Host";
1406
+ public const string UserAgent = "UserAgent";
1407
1408
+ public static HashSet<string> RestrictedHeaders = new HashSet<string>
1409
+ {
1410
+ Accept,
1411
+ Connection,
1412
+ ContentLength,
1413
+ ContentType,
1414
+ Date,
1415
+ Expect,
1416
+ Host,
1417
+ IfModifiedSince,
1418
+ Range,
1419
+ Referer,
1420
+ TransferEncoding,
1421
+ UserAgent,
1422
+ ProxyConnection,
1423
+ };
1424
}
1425
1426
public static class HttpMethods
0 commit comments