Skip to content

🦍Refactor: Enhance Unified Post Method: Intelligent Content-Type Handling#110

Open
mohamedmamdouh22 wants to merge 10 commits intomainfrom
post_method_refactor
Open

🦍Refactor: Enhance Unified Post Method: Intelligent Content-Type Handling#110
mohamedmamdouh22 wants to merge 10 commits intomainfrom
post_method_refactor

Conversation

@mohamedmamdouh22
Copy link
Contributor

@mohamedmamdouh22 mohamedmamdouh22 commented Jan 23, 2025

  • Added intelligent content-type detection for request data serialization
  • Automatically json.dumps() only when content-type is application/json
  • Preserves form-encoded data in original dictionary format

Important

Enhanced post method in impl.py for intelligent content-type handling, with version updates in pyproject.toml and uv.lock.

  • Behavior:
    • Enhanced post method in impl.py to intelligently handle content-type.
    • Automatically applies json.dumps() to data if content-type is application/json.
    • Preserves form-encoded data in its original dictionary format.
  • Version Updates:
    • Updated version to 0.59.6 in pyproject.toml and uv.lock for both harambe-core and harambe-sdk.

This description was created by Ellipsis for 3e1fc1f. It will automatically update as commits are pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant