You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Unirest, I am trying to upload a PDF file to a third party program. This third party program requires the Content-Type to be set like so: application/pdf;name=test.pdf however when I inspect the network traffic I see that Unirest is removing ;name=test.pdf from the Content-Type so that it is only sent with application/pdf. Is there any way to prevent this?
Using Unirest, I am trying to upload a PDF file to a third party program. This third party program requires the Content-Type to be set like so:
application/pdf;name=test.pdf
however when I inspect the network traffic I see that Unirest is removing;name=test.pdf
from the Content-Type so that it is only sent withapplication/pdf
. Is there any way to prevent this?Here is the full code:
The text was updated successfully, but these errors were encountered: