Re: Generalizing 207 (Multi-Status) and other webdav status codes

Hi J,

Il mer 3 ago 2022, 11:31 Julian Reschke <julian.reschke@gmx.de> ha scritto:

> Am 03.08.2022 um 10:29 schrieb Roberto Polli:
> > Dear all,
> >
> > I was wondering whether it's advisable to use
> > https://datatracker.ietf.org/doc/html/rfc4918 status codes in APIs
> > when not extending WebDAV.
>
> Well, you'd be relying on undefined behaviour. Right now, status code
> 207 is hard-wired to a certain XML format. It's certainly *possible* to
> relax that, but it would need a spec that updates RFC 4918.
>

Do you think it's worth doing this?
Do you thing 207 is something that is reasonable to use e.g. when replying
to requests affecting and/or related to different resources?

Have a nice day,
R

Received on Wednesday, 3 August 2022 19:46:17 UTC