•  
      request #15000 Do not abuse 406 HTTP status code
    Infos
    #15000
    Nicolas Terray (nterray)
    2020-06-24 18:45
    2020-06-22 11:27
    16256
    Details
    Do not abuse 406 HTTP status code
    All over the REST api, we throw 406 when the limit parameter exceed the maximum. It is wrong because it's not content negotiation.
    https://tools.ietf.org/html/rfc7231#section-6.5.6

    We should fix existing code before people copy paste it for new REST route.
    API
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2020-06-24
    Attachments
    Empty
    References

    Follow-ups