Any Way to Send Multipart Requests Without Attaching Files? #3395
|
I’ve reviewed the code and noticed that currently, a multipart request can only be sent when files is non-empty. Could we consider relaxing this restriction? For example, we could determine the need for a multipart request based on whether files is None rather than its emptiness. I believe there should be a way to send data using multipart mode (for instance, simulating Postman’s behavior). |
Answered by
lovelydinosaur
Nov 7, 2024
Replies: 1 comment 2 replies
The seems like a smart change, yep. |
2 replies
Answer selected by
laipz8200
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The seems like a smart change, yep.