-
Notifications
You must be signed in to change notification settings - Fork 146
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
QUERY: Query body normalization is a bad idea #2896
Comments
It might be a good idea to have a Basically, client-side normalization is going to be heavily dependent on the query MIME type. Do MIME registrations even provide normalization functions? Well, the registrations are fairly free-form, so that question is probably not relevant. When JSON normalization has been discussed before it's proven to be an extremely tricky topic. Server-side normalization, however, is much more likely to be possible, especially if the server parses a query into an AST, as then a canonical representation of the AST should be possible without having to specify any details in any RFCs. |
Are you suggesting to add text about normalization? Precisely where? |
OLD:
NEW:
|
I disagree. This is an implementation detail. A server can normalize based on how it uses the media type. No public spec is required here. |
Yes, the server can normalize however it wants and it's a local detail for it. But caches need not be located in the server, and caches may not be able to normalize the same way as the servers. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@nicowilliams , I'd like to get this discussion resolved. First of all, once a server responds with a Location field, a cache can simply cache this like GET to that URI, and the issue goes away. (right?) I also don't think it would be good to discourage caches from normalizing. The three types of normalization seem to be pretty safe to me. If a server treats those type of normalisations differently, that would essentially be a very stupid thing for the server to do. |
Also, would it be correct to say that this is not about normalization in general, but specifically to normalisations outside the origin server? |
@nicowilliams it would be helpful to understand the motivation for the change. Pointing to a huge HN thread requires the reader to do an unreasonable amount of work - can you summarize? |
See discussion in HN thread.
The text was updated successfully, but these errors were encountered: