We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1b320 commit fb7a497Copy full SHA for fb7a497
docs/fundamentals/code-analysis/quality-rules/ca2262.md
@@ -40,8 +40,8 @@ HttpClientHandler handler = new()
40
// Violation
41
MaxResponseHeadersLength = 512
42
43
- // Fix
44
- MaxResponseHeadersLength = 0.512
+ // Fix (it is not possible to specify a limit lower than 1 KB)
+ MaxResponseHeadersLength = 1
45
};
46
```
47
@@ -51,8 +51,8 @@ Dim handler As New HttpClientHandler With {
51
' Violation
52
.MaxResponseHeadersLength = 512
53
54
- ' Fix
55
- .MaxResponseHeadersLength = 0.512
+ ' Fix (it is not possible to specify a limit lower than 1 KB)
+ .MaxResponseHeadersLength = 1
56
}
57
58
0 commit comments