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). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The seems like a smart change, yep. |
Beta Was this translation helpful? Give feedback.
The seems like a smart change, yep.