-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can order between JSON and files be controlled in multipart form? #903
Comments
Currently it's not possible but I'll see if something can be done about that. |
@jakubroztocil That would be awesome. This should be useful for everyone with my use case. My use case:
In some rare cases I'm receiving files before fields (I'm using Sendgrid mail parse). When this happens I need to buffer the files and wait for the fields in order to know what to do with the files. It would be great to use httpie to test this edge case. |
You can't |
@msageryd HTTPie in |
Wow, great work!
…Sent from my iPhone
On 28 Sep 2020, at 13:55, Jakub Roztocil <notifications@github.com> wrote:
@msageryd<https://github.com/msageryd> HTTPie in master preserves the field ordering (will be included in v2.3.0).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#903 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABCGQDMRIZ25DRFUOCQGGE3SIB2SLANCNFSM4MQAYRSQ>.
|
I'm wondering if the order between JSON fields and file attachments can be controlled.
I need to test my api by having files come before JSON data in the stream. It seems that httpie always sends JSON first and then files.
The text was updated successfully, but these errors were encountered: