3 ms·
Yes, I want to reduce some of the MUSTs, or at least justify them more strongly. Right now they're based on what our running code absolutely needs.
by steveklabnik 14y ago
Yes, I want to reduce some of the MUSTs, or at least justify them more strongly. Right now they're based on what our running code absolutely needs.
- wycats 14y agoIndeed. In my experience, looser requirements in this kind of thing just leads to tears on the part of client and server implementations. I'll happily reduce some of the MUSTs to SHOULDs or MAYs if it makes sense for the communication channel to consider them optional.
- ch0wn 14y agoThat's great to hear. One particular example which I found needlessly strict is this: The request MUST contain a Content-Type header whose value is application/json. It MUST also include application/json as the only or highest quality factor. It makes sense for fully compliant implementation to have those headers, but they way I understand MUST here is that a server would reject any request without them.
- steveklabnik 14y agoI've filed an issue for you about this: https://github.com/json-api/json-api/issues/2 https://github.com/json-api/json-api/issues/2