Version 2.1.38
New Features
- Reports API:
- Added functionality to retrieve the character encoding of downloaded report documents. Users can now access the encoding via
response.character_code. If specified, the character code is returned; otherwise, it is inferred from the document response'sContent-Type. For metadata-only requests,response.character_codeisNone.
- Added functionality to retrieve the character encoding of downloaded report documents. Users can now access the encoding via
Bug Fixes
- Reports API:
- Fixed an issue where character encoding information could be incorrectly set or omitted during report document processing.
Internal
- Dependencies:
- Updated
cachetoolsdependency to version 7.2.6.
- Updated
Diagram of Character Encoding Handling
graph TD;
A[Request Report Document] --> B{Download/Decrypt};
B -->|Yes| C[Resolve Character Encoding];
B -->|No| D[Set character_code to None];
C --> E[Return ApiResponse with character_code];
D --> E;
These changes enhance the Reports API by providing detailed information about document encoding, crucial for accurate report data processing and display.