GithubHelp home page GithubHelp logo

Comments (12)

reschke avatar reschke commented on August 25, 2024

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.

annevk avatar annevk commented on August 25, 2024

Differed how?

from http-core.

reschke avatar reschke commented on August 25, 2024

In whether they were applying the fragment, and how they recombined them. See https://trac.ietf.org/trac/httpbis/ticket/43.

from http-core.

annevk avatar annevk commented on August 25, 2024

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.

annevk avatar annevk commented on August 25, 2024

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.

annevk avatar annevk commented on August 25, 2024

Note that this can likely be closed as I was mistaken to some extent: whatwg/fetch#505 (comment).

from http-core.

annevk avatar annevk commented on August 25, 2024

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.

mnot avatar mnot commented on August 25, 2024

@annevk so we're good to close this one?

from http-core.

annevk avatar annevk commented on August 25, 2024

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.

reschke avatar reschke commented on August 25, 2024

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.

annevk avatar annevk commented on August 25, 2024

Navigation isn't the only place where fragments are relevant (and HTTP doesn't restrict itself to navigation).

from http-core.

mnot avatar mnot commented on August 25, 2024

OK, closing. We can reopen if an action is needed.

from http-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.