Hi Gavin,

On 03.07.26 15:46, Gavin Brown wrote:
[...]
My co-author and I have one outstanding question, for which we are seeking 
feedback.

In Section 2, the draft says:

     Redirect requests for searches, where more than one object is
     returned, and help queries, as described by [RFC9083], are not
     supported. Servers MUST return an HTTP 409 for these requests.

PK> I have a small remark or a clarifying question. Is the intention here not to generate response if more than one object a) *is* returned - as a runtime condition, or b) *can* be returned (i.e. multiple result searches).


However, we are not sure if 409 is the correct HTTP status in this scenario, 
since the description of this status in RFC 9110 ([1]) suggests it's only 
applicable for POST/PUT/etc requests. We also looked at 422 ([2]) but that 
seems to have the same issue.

If there isn't a more specific HTTP status that applies in this situation, we 
will revert back to 400.

[1]: https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.10
[2]: https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21

PK> 404 is imho the most appropriate response, especially if the answer to the above is that certain searches are not supported (case b).

Kind Regards,
Pawel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
regext mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to