Code Monkey home page Code Monkey logo

Comments (7)

mnot avatar mnot commented on August 25, 2024 2

@dret LDP needs to go and actually register that header field with IANA, not just put it in a document.

from i-d.

mnot avatar mnot commented on August 25, 2024

Hm. The use cases for this seem to be along the lines of "this resource accepts any format for PUT" or "this resource accept any image/* format for POST".

I'm not sure that this is the right place to indicate these semantics -- it feels like we're doing validation by media type. Much better would be to bake the semantics into the link relation type of that resource.

OTOH HTML does it in form uploads with accept.

I could see it working for AcceptPut; I have a harder time with it for AcceptPost and especially for AcceptPatch. Just not sure the added complexity is worth it.

from i-d.

dret avatar dret commented on August 25, 2024

FYI: the draft referenced above is no longer active. the W3C LDP group ended up registering Accept-Post directly in the LDP spec: https://www.w3.org/TR/ldp/#header-accept-post

from i-d.

dret avatar dret commented on August 25, 2024

as discussed in #192, maybe it's worth considering splitting home documents and the general concept of link descriptions/hints?

from i-d.

handrews avatar handrews commented on August 25, 2024

as discussed in #192, maybe it's worth considering splitting home documents and the general concept of link descriptions/hints?

I'd love a separate JSON-based HTTP hints spec. People keep wanting it in JSON Hyper-Schema, although my preference is also to look more towards link relations for this. But if we must have hints a shared JSON format for them would be useful.

from i-d.

dret avatar dret commented on August 25, 2024

from i-d.

dret avatar dret commented on August 25, 2024

from i-d.

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.