mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
e9975e101d
- Replaced `parse_raw_request` and `convert_response_to_raw_data` with `deserialize_request` and `serialize_response` for better clarity and functionality. - Enhanced the `PluginExecutor` methods to utilize the new request and response utilities. - Updated type hints in the `Subscription` class to use `Mapping` instead of `dict` for improved type safety. - Refactored HTTP parsing logic to support a wider range of content types and improve overall request handling.