Closed ash-eng-spin closed 5 months ago
updated 10 Jan 2024 to include a 5th & 6th PC on the "text/csv" vs "application/vnd.ms-excel" issue
FYI - We are seeing this problem as well. How can we escalate this issue to get a resolution?
This issue has been automatically marked as stale because it has not had recent activity and is not currently prioritized. It will be closed in a week if no further activity occurs :)
Don't mark as stale. This is a show stopper and can't use this product.
If you still think this issue is relevant, please ping a maintainer or leave a comment!
yes this is still an issue. We can't use this product because we can't test all of our APIs on it.
When setting up a multipart request, ARC automatically selects the content-type of the file part. The auto-assigned content-type is not always the desired content-type of the API spec, therefore our request will always result in a 400 Bad Request, because the content-type is wrong.
Also, in the case of csv files, the content-type is set differently on different PCs.
Please allow a way for the user to set the content type for a multi-part request part. File or text
Example 1: Multipart Form Data: CSV file content-type automatically set, inconsistent on different PCs. No manual way for user to set content-type for a file. Why is this a problem: API spec for "file" wants "text/csv" for the content-type. ARC automatically sets the content-type to "application/vnd.ms-excel" on some PCs, uploads as "text/csv" on others. No way to manually set the content-type. Results in 400 bad request because content-type does not match API spec and there is no way to change in ARC.
Example 2: Multipart Form Data: PDF file content-type automatically set, consistent on different PCs. No manual way for user to set content-type for a file. Why is this a problem: API spec for the pdf file wants "application/octet-stream" for the content-type. ARC automatically sets the content-type to "application/pdf". No way to manually set the content-type. Results in 400 bad request because content-type does not match API spec and there is no way to change in ARC.
a.pdf sampleData.csv
Versions
App: 17.0.9
Steps to reproduce