ietf-wg-httpapi / rfc7807bis

Revision of RFC7807: HTTP Problem Details
Other
20 stars 8 forks source link

Rough in a Problem HTTP field #39

Closed mnot closed 2 years ago

mnot commented 2 years ago

A couple of decision points to note:

For #35.

mnot commented 2 years ago

Yes - my thinking is that an API will define which it uses.

dret commented 2 years ago

On 2022-03-25 02:25, Mark Nottingham wrote:

Yes - my thinking is that an API will define which it uses.

yes, that works well from the perspective of API producers: they choose which way to go and then implement things accordingly.

it's less great from the perspective of consumers who oftentimes will consume more than one API to get their jobs done. now they need to jump back and forth and know what to expect based on which API they're interacting with.

in my mind, the more we can avoid consumers having to "know the API" and allow them to just work seamlessly across resources, the better. which is why i think even though it certainly is feasible to also represent problem details in a header field, it may be the better design overall to avoid adding the requirement to know where to look for problem details.