-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
🎯 Overview
Refactor FastHTTP to provide a cleaner API design and enhanced file upload support.
✨ Improvements
API Simplification
- Rename
serialize_object→to_dictfor clarity - Remove unnecessary
is_serializablefrom public API - Streamline exports: only
FastHTTP&to_dictexposed
Enhanced File Upload
- Add file object detection (
io.IOBase) - Preserve file objects during serialization
- Support mixed form data (objects + files)
Architecture
- Create dedicated
fasthttp.serializersmodule - Separate serialization logic from HTTP client
- Improve type hints with
TypeAlias
🔧 Technical Details
- Zero external dependencies maintained
- Recursive object serialization
- Backward-compatible behavior
- Clean modular design
📦 Target Version
0.1.1
Reactions are currently unavailable