- From: Michael Toomim <toomim@gmail.com>
- Date: Fri, 1 Nov 2024 14:05:58 -0700
- To: Josh Cohen <joshco@gmail.com>, Julian Reschke <julian.reschke@gmx.de>
- Cc: ietf-http-wg@w3.org
Received on Friday, 1 November 2024 21:06:06 UTC
Very cool! This gives us a lot to work with. Thanks guys! On 11/1/24 10:35 AM, Josh Cohen wrote: > So something like this? > > > HTTP/1.1 404 Not Found > > Content-Type: application/problem+json > > Content-Language: en > > > > { > > "type": "https://example.com/probs/version-not-present", > > "title": "The version requested is not present", > > "detail": "Version deadbeef is not present on this server", > > "instance": "/account/12345/msgs/abc", > > } > > On Fri, Nov 1, 2024 at 2:44 AM Julian Reschke <julian.reschke@gmx.de> > wrote: > > On 01.11.2024 03:10, Josh Cohen wrote: > > Yeah, or make a new 4xx code. That way the client knows the server > > understood that it was a version request, and it doesn't have > the right > > version, rather than the resource not existing at all. Or if Braid > > already handles that... > > You don't necessarily need a new status code for this. See > <https://www.rfc-editor.org/rfc/rfc9457.html>. > > Best regards, Julian > > > > > -- > > --- > *Josh Co*hen >
Received on Friday, 1 November 2024 21:06:06 UTC