Skip to content

Commit

Permalink
Allow tabs in header value, fixes #2263
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Oct 3, 2024
1 parent 0fba5e7 commit bf4008f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RestSharp/Parameters/HeaderParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ static bool IsInvalidHeaderString(string stringValue) {
// ReSharper disable once ForCanBeConvertedToForeach
for (var i = 0; i < stringValue.Length; i++) {
switch (stringValue[i]) {
case '\t':
case '\r':
case '\n':
return true;
Expand Down

0 comments on commit bf4008f

Please sign in to comment.