Skip to content

feature/multipart-support#1

Merged
flusflas merged 13 commits intomainfrom
feature/multipart-support
Jul 24, 2025
Merged

feature/multipart-support#1
flusflas merged 13 commits intomainfrom
feature/multipart-support

Conversation

@flusflas
Copy link
Owner

@flusflas flusflas commented Jul 24, 2025

This MR adds support for multipart requests, binary responses, improved request handling, and includes various fixes and minor enhancements.

flusflas added 13 commits July 20, 2025 20:08
- Improved validation and preparation of content-type requests.
- Replaced `body` parameter with `data` and `json` in `make_request()`
  for better alignment with `requests` library conventions.
- Delegated content-type handling to `requests` for automatic management.
Fix support for XML as a valid content type in request and response
handling.
Refactored response content parsing to handle binary data, introducing
`_parse_response_content`. Updated tests and docs to reflect these
changes.
The global pagination extension was importing the pagination model from
the python-tree template. To maintain consistency, the pagination has
been copied to the apier/extensions directory.
Added the `x-apier.response-stream` extension, allowing operations to
specify default streaming behavior for response bodies.
Added a check to skip processing when body type mismatches the expected
request class.
@flusflas flusflas merged commit f0e2e6e into main Jul 24, 2025
12 checks passed
@flusflas flusflas deleted the feature/multipart-support branch August 4, 2025 21:46
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