Coder Social home page Coder Social logo

Comments (5)

pmeenan avatar pmeenan commented on May 11, 2024

Mostly to keep things short. We did the same with extensible HTTP priorities using u for urgency and i for incremental.

I think we're fine either way but the HTTP working group usually seems to skew towards brevity.

from compression-dictionary-transport.

annevk avatar annevk commented on May 11, 2024

We didn't do this for https://w3c.github.io/reporting/#header. Seems unfortunate we're not consistent here.

If this is going for TAG review, could you ask about this? It seems https://w3ctag.github.io/design-principles/#naming-is-hard is in need of an update.

from compression-dictionary-transport.

pmeenan avatar pmeenan commented on May 11, 2024

Looks like the reporting header is a flat dictionary with no pre-defined keys (each key is a "name" for the given endpoint).

We're still pre-experiment so it's a good time to make changes. I'll default to long prefixes as the starting point and see if shortening is necessary. We're already using base-16 hash strings instead of base-64 for convenience over brevity.

from compression-dictionary-transport.

mnot avatar mnot commented on May 11, 2024

Brevity, yes, but that's usually regarding ReallyPointlesslyLongHeaderNames. I don't think you'd get much pushback on path vs p (although I agree someone will say something).

from compression-dictionary-transport.

pmeenan avatar pmeenan commented on May 11, 2024

While we're looking at the naming, would match be clearer than path to the extent that what is being specified is the path-matching rule to be used for future requests?

from compression-dictionary-transport.

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.