-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Dupe of #31. There was handling in place where we specifically removed the Content-Type header if the request method was not PUT, POST, DELETE or PATCH, since the HttpClient would fail in other cases. HttpClient appears to have been since updated to tolerate these cases.
The handling was removed from HTTP.Request under #31, but the same handling should also be removed from SendBytes, RequestBytes and SendAndReceiveBytes. That's what this ticket is for.
EDIT: SendBytes and SendAndReceiveBytes don't support GET requests (obviously), and the chances of anyone wanting to send an OPTIONS request or something with content are minimal, so only RequestBytes needs to be modified.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels