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
Yes, the way it currently works is a big pain. As we’ve used it over time, it seems to me that content-type should only be required for initial resource creation: i.e. a PUT/POST if there is no resource there already. GET, DELETE, and PUT/POST to an existing resource should just use the content-type on the resource already and ignore the content-type header on the server.
We haven’t worked out how to change the content type of a resource which could affect this depending on what we choose to do.
I’m all for removing the requirement for content-type for all cases except resource creation.
Aaron
On Jan 27, 2020, at 11:29 PM, Alex Layton ***@***.***> wrote:
The library seems to require a content type for a DELETE? Is this intended? Seems strange to me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#11?email_source=notifications&email_token=AA2KEUFSTYTK5UJ2B3Y2SN3Q76YENA5CNFSM4KMMG6MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJDQ7WQ>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA2KEUDSJNYSTX5ZXANKOJTQ76YENANCNFSM4KMMG6MA>.
The library seems to require a content type for a DELETE? Is this intended? Seems strange to me.
The text was updated successfully, but these errors were encountered: