You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a multipart request can only be sent when the files parameter is non-empty. This restriction limits cases where users might want to send data using multipart mode without attaching any files, which is possible in tools like Postman.
Proposed Change:
Instead of requiring files to be non-empty, we could determine the need for a multipart request based on whether files is None rather than its emptiness. This would allow users to send multipart requests without attaching files if needed.
Example Use Case:
Sending form data using multipart mode without the need for a file upload.
Additional Context:
This change has been discussed and approved in the Q&A section with a maintainer. I’d be happy to work on this change.
I'd like to try to implement this feature, please assign this issue to me.
Currently, a multipart request can only be sent when the files parameter is non-empty. This restriction limits cases where users might want to send data using multipart mode without attaching any files, which is possible in tools like Postman.
Proposed Change:
Instead of requiring files to be non-empty, we could determine the need for a multipart request based on whether files is None rather than its emptiness. This would allow users to send multipart requests without attaching files if needed.
Example Use Case:
Additional Context:
This change has been discussed and approved in the Q&A section with a maintainer. I’d be happy to work on this change.
I'd like to try to implement this feature, please assign this issue to me.
The text was updated successfully, but these errors were encountered: