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

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.
> For example, an implementation might expect responses to always be XML...
>
> Have a nice day,
> R.

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.

Best regards, Julian

Received on Wednesday, 3 August 2022 09:31:10 UTC