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:
82
82
}
83
83
```
84
84
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
+
85
103
### Cloudant on Transaction Engine
86
104
87
105
Whilst 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:
131
149
...
132
150
}
133
151
```
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