-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Description
Hey,
Thanks for your continued maintenance of HttpClient!
I've been using the Multipart functionality in Network.HTTP.Client.MultipartFormData
and noticed it insists on setting the Content-Type of a file part, derived from its file extension. Would you consider disabling that or giving a way to unset it? I'd like to use custom content-types or even leave them out.
Perhaps if the implementation set a default header in the Part
constructor instead of a separate Part
field, it'd be more general to also overwrite via a hypothetical modifyHeaders
accessor. Seems a tad odd for that header to be special-cased in the first place.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels