Re: Fwd: New Version Notification for draft-toomim-httpbis-versions-02.txt

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 17:35:25 UTC