Skip to content

Commit e0db95b

Browse files
committed
IncludeHeaderNames增加;分隔支持
1 parent ed26593 commit e0db95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebApiClient/Attributes/CacheAttributes/CacheAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private void SetIncludeHeaders(string headersString)
6161
if (headersString != null)
6262
{
6363
this.IncludeHeaderNames = headersString
64-
.Split(new[] { ',', '|' })
64+
.Split(new[] { ',', '|', ';' })
6565
.Select(h => h.Trim())
6666
.Where(h => string.IsNullOrEmpty(h) == false)
6767
.ToArray();

0 commit comments

Comments
 (0)