▲ 32 ▼ The HTTP QUERY Method (www.ietf.org) submitted 2 years ago by lysdexic@programming.dev to c/webdev@programming.dev 6 comments fedilink hide all child comments
[–] lysdexic@programming.dev [S] 3 points 2 years ago (1 child) However, we’re still implementing IPv6, so how long until we could actually use this? We can already use custom verbs as we please: we only need to have clients and servers agree on a contract. What we don't have is the benefit of high-level "batteries included" web frameworks doing the work for us. permalink fedilink source parent hideshow 2 child comments replies: [–] Deebster@programming.dev 1 point 2 years ago (1 child) What about proxies and the like? It might be less relevant in a world where most communication happens under TLS. permalink fedilink source parent hideshow 2 child comments replies: [–] lysdexic@programming.dev [S] 4 points 2 years ago Custom methods won't have the benefit of being dealt with as if they shared specific semantics, such as being treated as safe methods or idempotent, but ultimately that's just an expected trait that anyone can work with. In the end, specifying a new standard HTTP method like QUERY extends some very specific assurances regarding semantics, such as whether frameworks should enforce CRSF tokens based on whether a QUERY has the semantics of a safe method or not. permalink fedilink source parent
[–] Deebster@programming.dev 1 point 2 years ago (1 child) What about proxies and the like? It might be less relevant in a world where most communication happens under TLS. permalink fedilink source parent hideshow 2 child comments replies: [–] lysdexic@programming.dev [S] 4 points 2 years ago Custom methods won't have the benefit of being dealt with as if they shared specific semantics, such as being treated as safe methods or idempotent, but ultimately that's just an expected trait that anyone can work with. In the end, specifying a new standard HTTP method like QUERY extends some very specific assurances regarding semantics, such as whether frameworks should enforce CRSF tokens based on whether a QUERY has the semantics of a safe method or not. permalink fedilink source parent
[–] lysdexic@programming.dev [S] 4 points 2 years ago Custom methods won't have the benefit of being dealt with as if they shared specific semantics, such as being treated as safe methods or idempotent, but ultimately that's just an expected trait that anyone can work with. In the end, specifying a new standard HTTP method like QUERY extends some very specific assurances regarding semantics, such as whether frameworks should enforce CRSF tokens based on whether a QUERY has the semantics of a safe method or not. permalink fedilink source parent