-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending a MultipartPayload always does a POST #11
Comments
It's definitely a bug! I've just fixed it in |
Great, thanks! Looking forward to a new version on Cocoapods :) |
@kevinrenskers yeah, just uploaded it, you could update now 🙂 |
Hm I updated to 1.11.1, but it's still sending my request via POST.
(where EditUserData is a MultipartPayload struct)
So the logs seem to indicate that it thinks it's sending via PUT, but the actual http method is actually a POST. Confirmed via Charles proxy. |
Never mind, clean build solves the problem :) |
It's currently not possible to send a MultipartPayload request via PUT or PATCH, it always overrides it to a POST request. Is this expected, or a bug?
The text was updated successfully, but these errors were encountered: