Skip to content

Commit 864c00d

Browse files
committed
Fix compressionEnforced doc in migration guide, close AsyncHttpClient#1050
1 parent 122383b commit 864c00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MIGRATION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ AsyncHttpClient v1.9 is a preview of v2, so it comes with some breaking changes.
1919
* `allowPoolingConnection` becomes `allowPoolingConnections`
2020
* `allowSslConnectionPool` becomes `allowPoolingSslConnections`
2121
* `connectionTimeout` becomes `connectTimeout`
22-
* `compressionEnabled` becomes `compressionEnforced` (default true) so it's always enabled and can honor user defined Accept-Encoding
22+
* `compressionEnabled` becomes `compressionEnforced`. Default false, so AHC only honors user defined Accept-Encoding.
2323
* `requestCompressionLevel` was dropped, as it wasn't working
2424
* `SSLEngineFactory` was moved to Netty config as only Netty honors it
2525
* `useRawUrl` becomes `disableUrlEncodingForBoundedRequests`, as it's only honored by bound requests

0 commit comments

Comments
 (0)