ietf-ribose / bibxml-service

Django-based Web service implementing IETF BibXML APIs
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Handle unexpected I-D xml2rfc paths without 500 #29

Open strogonoff opened 1 year ago

strogonoff commented 1 year ago

After this change, the response for an unexpected path is a JSON describing the error (consistently with other error responses). Example path: http://localhost:8000/public/rfc/bibxml-ids/reference.i-d.draft-harkins-pkex-02.xml