Skip to content

Commit 6882cb6

Browse files
Update generated source code (#108)
* Update generated source code Generated SDK source code using: - Generator version 3.30.0 - Specification version 1.0.0-dev0.0.36 - Automation (cloudant-sdks) version 20f4341 * Add 'disabling request body compression' section Co-authored-by: Esteban Laver <[email protected]>
1 parent 14882f4 commit 6882cb6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

KNOWN_ISSUES.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff 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

87105
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:
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+
```

0 commit comments

Comments
 (0)