You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Net/HttpWebRequest.xml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2495,13 +2495,13 @@ Both <xref:System.Net.HttpWebRequest> constructors are obsolete and should not b
2495
2495
<formattype="text/markdown"><![CDATA[
2496
2496
2497
2497
## Remarks
2498
-
The length of the response header received the response status line and any extra control characters that are received as part of HTTP protocol. A value of -1 means no limit is imposed on the response headers received; a value of 0 means that all requests fail.
2498
+
The length of the response header received the response status line and any extra control characters that are received as part of HTTP protocol. A value of 0 means that all requests fail.
2499
2499
2500
2500
This value can also be changed in the configuration file. The impact of this property can be overridden by setting the <xref:System.Net.HttpWebRequest.MaximumResponseHeadersLength%2A> property on an instance of the <xref:System.Net.HttpWebRequest> class.
2501
2501
2502
2502
]]></format>
2503
2503
</remarks>
2504
-
<exceptioncref="T:System.ArgumentOutOfRangeException">The value is not equal to -1 and is less than zero.</exception>
2504
+
<exceptioncref="T:System.ArgumentOutOfRangeException">The value is less than zero.</exception>
2505
2505
</Docs>
2506
2506
</Member>
2507
2507
<MemberGroupMemberName="EndGetRequestStream">
@@ -3701,7 +3701,7 @@ The GetHashCode method returns a hash code of the web request. This value can be
3701
3701
<formattype="text/markdown"><![CDATA[
3702
3702
3703
3703
## Remarks
3704
-
The length of the response header includes the response status line and any extra control characters that are received as part of HTTP protocol. A value of -1 means no limit is imposed on the response headers; a value of 0 means that all requests fail.
3704
+
The length of the response header includes the response status line and any extra control characters that are received as part of HTTP protocol. A value of 0 means that all requests fail.
3705
3705
3706
3706
If the <xref:System.Net.HttpWebRequest.MaximumResponseHeadersLength%2A> property is not explicitly set, it defaults to the value of the <xref:System.Net.HttpWebRequest.DefaultMaximumResponseHeadersLength%2A> property.
3707
3707
@@ -3719,7 +3719,7 @@ The GetHashCode method returns a hash code of the web request. This value can be
3719
3719
]]></format>
3720
3720
</remarks>
3721
3721
<exceptioncref="T:System.InvalidOperationException">The property is set after the request has already been submitted.</exception>
3722
-
<exceptioncref="T:System.ArgumentOutOfRangeException">The value is less than 0 and is not equal to -1.</exception>
3722
+
<exceptioncref="T:System.ArgumentOutOfRangeException">The value is less than 0.</exception>
0 commit comments