This whole thing is non sense. It basically mixes technical constraints (body or not body) with a functional requirement that arises from people that are tied to semantics of the protocol. HTTP is transfer protocol. It should not ever imply anything at the business level. Yes REST made it's worst mistake out if it by giving a meaning to the verb. Yes proxies rule how the body is re-interpreted in spite of the will of…
Yes this, yes that, yes the other, because proxies are in agreement with patterns are in agreement with the HTTP spec that methods exist and have semantic and functional requirements. Your 'should' seems to be discussing a hypothetical technology that is not HTTP, because HTTP has worked this way since 1997.
RFC 10008: The new HTTP Query Method
181–189 of 189 posts
Re: RFC 10008: The new HTTP Query Method
#182Earlier quoted context omitted.
Supporting more than GET/POST in HTML forms has been my dream for decades. There's a WHATWG proposal to do just that if you want to add your voice: https://github.com/whatwg/html/pull/11347
What’s the use case for that?
Re: RFC 10008: The new HTTP Query Method
#183> GET request with a body was heavily considered by the IETF working group, but it was ultimately rejected in favor of creating the new QUERY method. The decision to create a distinct method came down to historical interoperability issues and strict compliance with the core architectural definitions of HTTP. I've been sending request body along GET method for years now
Re: RFC 10008: The new HTTP Query Method
#184Earlier quoted context omitted.
Putting something in a spec does not automatically make it true. In the real world if you repeat expensive queries more than an undefined amount you get blocked or at least bot-checked.
Putting something in a spec does not automatically make it true. Terrible news for computing.
Re: RFC 10008: The new HTTP Query Method
#185Earlier quoted context omitted.
Supporting more than GET/POST in HTML forms has been my dream for decades. There's a WHATWG proposal to do just that if you want to add your voice: https://github.com/whatwg/html/pull/11347
What’s the use case for that?
Re: RFC 10008: The new HTTP Query Method
#186Earlier quoted context omitted.
Putting something in a spec does not automatically make it true. Terrible news for computing.
The point is that you need to take care to make the implementation of that endpoint safe. It isn’t safe magically by itself.
| implementation = reality | magic |
|-----------------------------------|
| 999,999,999,971 (+1) | 0 |Re: RFC 10008: The new HTTP Query Method
#187Including a strong motivating example might have helped sell this, using an example that could trivially be expressed as a GET is extremely distracting. Even imagining a QUERY with a large JSON filtering structure, or say an image input as request body, it feels extremely odd to include the request body as part of the cache key. It also implies an unbounded and user-controlled cache key, with the only really meaningf…
Re: RFC 10008: The new HTTP Query Method
#188> https://www.rfc-editor.org/info/rfc10008/#section-2.8 Having a standard way to do pagination would be extremely useful. If we could add an items (or similar) range header type that would be excellent! For example, in the HEAD response (and the QUERY response): accept-ranges: items items-length: 342 In the QUERY request: Range: items=0-9
The pagination is not always done with page numbers, sometimes there are "next" and "previous" tokens.
Re: RFC 10008: The new HTTP Query Method
#189Earlier quoted context omitted.
The point is that you need to take care to make the implementation of that endpoint safe. It isn’t safe magically by itself.
Great, got it. I'll update my running "how computing works" chart with this new information: | implementation = reality | magic | |-----------------------------------| | 999,999,999,971 (+1) | 0 |
Elsewhere it was suggested that we can now replace POST with this query. I was trying to be cautionary because just changing the method alone will bring different behaviour. I did so in brevity because I was in a rush. IMHO, that does not call for snark.