Skip to content

Commit fffde1f

Browse files
committed
update documentation
1 parent 916ffe8 commit fffde1f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 4.5.1
2+
* Add Config method for setting system property jdk.internal.httpclient.disableHostnameVerification. This will disable host name verification for ALL instances of Unirest or the Java client on the JVM
3+
14
## 4.5.0
25
* Added support for Server Sent Events. See Documentation.
36

mkdocs/docs/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Changing Unirest's config should ideally be done once, or rarely. Once Unirest h
2828
| ```connectionTTL(long,TimeUnit)``` | Total time to live (TTL) defines maximum life span of persistent connections regardless of their expiration setting. No persistent connection will be re-used past its TTL value. | -1 |
2929
| ```cookieSpec(String)``` | set a cookie policy. Acceptable values: 'default' (same as Netscape), 'netscape', 'ignoreCookies', 'standard' (RFC 6265 interoprability profile) , 'standard-strict' (RFC 6265 strict profile) | default |
3030
| ```defaultBaseUrl(String value)``` | Set a default base URL to be used for all requests that do not already contain a scheme | |
31+
| ```disableHostNameVerification(Boolean value)``` | Sets the system property jdk.internal.httpclient.disableHostnameVerification. This will disable host name verification for ALL instances of Unirest or the Java client on the JVM | |
3132
| ```setDefaultHeader(String, String)``` | Sets a default header. Will overwrite if it exists | |
3233
| ```setDefaultHeader(String, Supplier<String>)``` | Sets a default header by supplier. Good for setting trace tokens for microservice architectures. Will overwrite if it exists | |
3334
| ```addDefaultHeader(String, String)``` | Adds a default header. Multiple for the same name can exist | |

mkdocs/docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can use a maven bom to manage the modules:
1212
<dependency>
1313
<groupId>com.konghq</groupId>
1414
<artifactId>unirest-java-bom</artifactId>
15-
<version>4.4.5</version>
15+
<version>4.5.1</version>
1616
<type>pom</type>
1717
<scope>import</scope>
1818
</dependency>

0 commit comments

Comments
 (0)