On Wed, Jun 17, 2020 at 07:35:26PM +0000, Hollenbeck, Scott wrote:
> From: Mario Loffredo <mario.loffr...@iit.cnr.it>
>> In my opinion "errorCode" should be required while "description"
>> should be optional. About "title", I don't have a clear position.
> 
> Something else to think about. RFC 7480 describes required error
> response codes, so for the sake of consistency I think that makes
> the errorCode a MUST. 7480 also says "Optionally, it MAY include
> additional information regarding the negative answer in the HTTP
> entity body". That sounds to me like the title and description can
> be OPTIONAL. Does that sound reasonable? What have people actually
> implemented?

We always return the error code and the title, but sometimes omit the
description.  I think making title and description optional is
reasonable, since it's better to have a partial error response body
than none.

-Tom

_______________________________________________
regext mailing list
regext@ietf.org
https://www.ietf.org/mailman/listinfo/regext

Reply via email to