File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,24 @@ Example JSON request body:
8282}
8383```
8484
85+ ### Monitoring, Authorization, and CORS
86+
87+ The server (Cloudant (Classic) <= 8169) incorrectly processes gzip compressed request bodies for the following endpoints:
88+ | Endpoint | HTTP operation |
89+ | ---------------------------------------| ----------------|
90+ | ` /_api/v2/user/activity_tracker/events ` | ` POST ` |
91+ | ` /_api/v2/user/capacity/throughput ` | ` PUT ` |
92+ | ` /_api/v2/api_keys ` | ` POST ` |
93+ | ` /_api/v2/db/{db}/_security ` | ` PUT ` |
94+ | ` /_api/v2/user/config/cors ` | ` PUT ` |
95+
96+ The workaround is to [ disable request body compression] ( #disabling-request-body-compression ) .
97+
98+ ### Replication
99+
100+ The server (Cloudant (Classic) <= 8169) incorrectly processes gzip compressed request bodies for ` _replicate ` endpoint.
101+ The workaround is to [ disable request body compression] ( #disabling-request-body-compression ) .
102+
85103### Cloudant on Transaction Engine
86104
87105Whilst most SDK methods will work with _ Cloudant on Transaction Engine_ there are some limitations.
@@ -131,3 +149,12 @@ The example above represents this JSON body:
131149 ...
132150}
133151```
152+
153+ ### Disabling request body compression
154+
155+ ``` python
156+ from ibmcloudant.cloudant_v1 import CloudantV1
157+ client = CloudantV1.new_instance(service_name = " YOUR_SERVICE_NAME" )
158+ client.set_enable_gzip_compression(False )
159+ ...
160+ ```
You can’t perform that action at this time.
0 commit comments