Skip to content

Commit d26412e

Browse files
8343433: Update net.properties and java.net.http module-info.java after 8326949
Reviewed-by: dfuchs, jpai
1 parent 29882bf commit d26412e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/java.base/share/conf/net.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ jdk.http.auth.tunneling.disabledSchemes=Basic
104104
# to be used in real deployments. Protocol errors or other undefined behavior is likely
105105
# to occur when using them. The property is not set by default.
106106
# Note also, that there may be other headers that are restricted from being set
107-
# depending on the context. This includes the "Authorization" header when the
108-
# relevant HttpClient has an authenticator set. These restrictions cannot be
109-
# overridden by this property.
107+
# depending on the context. These restrictions cannot be overridden by this property.
110108
#
111109
# jdk.httpclient.allowRestrictedHeaders=host
112110
#

src/java.net.http/share/classes/module-info.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@
4545
* and whitespace is ignored. Note that this property is intended for testing and not for
4646
* real-world deployments. Protocol errors or other undefined behavior are likely to occur
4747
* when using this property. There may be other headers that are restricted from being set
48-
* depending on the context. This includes the "Authorization" header when the relevant
49-
* HttpClient has an authenticator set. These restrictions cannot be overridden by this
50-
* property.
48+
* depending on the context. These restrictions cannot be overridden by this property.
5149
* </li>
5250
* <li><p><b>{@systemProperty jdk.httpclient.bufsize}</b> (default: 16384 bytes or 16 kB)<br>
5351
* The size to use for internal allocated buffers in bytes.

0 commit comments

Comments
 (0)