Skip to content

Commit bf4008f

Browse files
committed
Allow tabs in header value, fixes #2263
1 parent 0fba5e7 commit bf4008f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/RestSharp/Parameters/HeaderParameter.cs

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ static bool IsInvalidHeaderString(string stringValue) {
5353
// ReSharper disable once ForCanBeConvertedToForeach
5454
for (var i = 0; i < stringValue.Length; i++) {
5555
switch (stringValue[i]) {
56-
case '\t':
5756
case '\r':
5857
case '\n':
5958
return true;

0 commit comments

Comments
 (0)