Comments (12)
It says what it says because UAs differed in what they were doing.
The HTTP specs predate Fetch. If you want a change in the HTTP specs, it would be good if you could explain why Fetch differs from browser navigation in behavior.
from http-core.
Differed how?
from http-core.
In whether they were applying the fragment, and how they recombined them. See https://trac.ietf.org/trac/httpbis/ticket/43.
from http-core.
It seems you didn't actually test the various scenarios outlined in OP (and curiously you only tested browsers, not other clients).
from http-core.
I think I do somewhat agree with your assessment in that issue that it's better to leave this up to a higher level in the stack as HTTP just relays fragments, but doesn't really do anything with them.
from http-core.
Note that this can likely be closed as I was mistaken to some extent: whatwg/fetch#505 (comment).
from http-core.
And to be clear, my plan of record is to make Fetch and HTML depend on HTTP defining the fragment handling, so if you do plan to leave it to a higher layer at some point, let Fetch know.
from http-core.
@annevk so we're good to close this one?
from http-core.
I guess you can close it, but it's not actually solved end-to-end yet. Changes haven't landed downstream, and clients haven't changed either. The longer the latter is true the more likely this will bubble back up and has to be revisited.
from http-core.
I'm still not sure what possibly would need to be "revisited".
The spec says what it says because people complained that 2616 didn't specify this. Years ago, we did the testing and got browsers to agree what to do on page navigation, and wrote that down.
What exactly do you think might be left to do?
from http-core.
Navigation isn't the only place where fragments are relevant (and HTTP doesn't restrict itself to navigation).
from http-core.
OK, closing. We can reopen if an action is needed.
from http-core.
Related Issues (20)
- RFC 9110 does change requirements from RFC 2818 HOT 1
- Definition of status code 308 should mention that request method MUST NOT be changed
- multiple locations for 301/308 redirects? HOT 5
- how to handle C-L for unknown methods HOT 3
- incorrect media type weight in example
- A Single LF Line Terminator in RFC 9112 HOT 4
- OWS in ranges-specifier missing(?)
- charset names are used in Accept-Charset, not Accept-Encoding HOT 1
- http 1.1 message body (section 6) and get/head/delete semantics HOT 1
- If-Range distinguishing entity-tag from HTTP-date can be more refined HOT 1
- Missing changes - determining target URI authority
- absolute-form explanations are a bit confusing
- Media Type message/http requirements HOT 1
- Semantics of informational responses. HOT 2
- Caching: Vary, Conneg, and choosing the latest response HOT 1
- Caching: give caches more flexibility to calculate Age
- If-Match and caching intermediaries HOT 1
- rfc 9112: incorrect link in ABNF
- Clarification on messages with invalid Content-Length and valid Transfer-Encoding HOT 8
- RFC 9110, section 8.6: Incorrect use of the word "exception."
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-core.