Added
- [PayloadTooLarge](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/lib/exception.py#L106) : created to catch errors, when the request body lenght exceeds the API limit
Fixed
- [upload_media](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/k_sync/client.py#L450) : problems
with `Content-Length` header and request body
Changed
- [upload_media](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/k_sync/client.py#L450) : now supports `file` of type `bytes`
- [app_headers](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/lib/headers.py#L124) : The
type of the `data` parameter was changed to `bytes | None`
- [generateSig](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/lib/util.py#L57): now
supports `data` of type `bytes`
- [check_server_exceptions](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/lib/exception.py#L191) : now returns a subclass object of `ServerError`
- [check_exceptions](https://github.com/kwel999/K_Amino/blob/46e0b5874cade8143e906623780231d0139b1f3e/k_amino/lib/exception.py#L201) : now returns a subclass object of `APIError`
Removed
- [UnknownException](https://github.com/kwel999/K_Amino/blob/4bc072fe2915c12997e932586f85e3de472f3514/k_amino/lib/exception.py#L9) : removed
because it is caught by the `APIError` base class