- 
                Notifications
    You must be signed in to change notification settings 
- Fork 261
Open
Milestone
Description
It took me quite a while to find how to create an AJAX request with a fixed ordering of transferred arguments (even if the same name occurs multiple times) with a multipart/form-data encoding. I ended up posting a question to StackOverflow (https://stackoverflow.com/q/76545035/2240052) and found a related question with an answer that makes use of the following undocumented behavior of $.ajax:
- The dataparameter can be aFormDataobject
- Setting contentTypeto false will in this case automatically create a correctcontentTypeheader including aboundaryspecification
This allowed me to solve my problem, but the documentation does not mention it and could be improved.
Metadata
Metadata
Assignees
Labels
No labels