A payload within a GET request message has no defined semantics;
sending a payload body on a GET request might cause some existing
implementations to reject the request.
GET request shouldn't be sending a body thus application/json value doesn't fit.
đ The bug
DevTools are adding Content-Type header with
application/json
value to GET requests.According to RFC 7231:
GET request shouldn't be sending a body thus
application/json
value doesn't fit.đ ī¸ To reproduce
https://github.com/filipfdevelit/repl-nuxt-dev-tools-content-type-get-request
đ Expected behavior
DevTools are not adding
application/json
to Content-Type header for GET requests.âšī¸ Additional context
No response