Task: curl Per-file Content-Type for Multipart POST Requests
Task: curl Per-file Content-Type for Multipart POST Requests: a task in Terminal-Lego-15k (Harbor dataset). When using curl to send multipart POST requests with the -F (form) option, each part defaults to a Content-Type based on the file extension or falls back to application/octet-stream . In…
The task
When using `curl` to send multipart POST requests with the `-F` (form) option, each part defaults to a Content-Type based on the file extension or falls back to `application/octet-stream`. In many API scenarios (such as the YouTube Direct Upload API), you need to specify a **custom Content-Type for individual parts**…
Part of PrimeIntellect/Terminal-Lego-15k.