alecmuffett / certificate-transparency

Automatically exported from code.google.com/p/certificate-transparency
0 stars 0 forks source link

RFC6962-bis: Clarify error messages from logs #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the RFC only specify that error will be returned as HTTP errors.
Two aspects of error conditions should be clarified:
1. Clearly define which error conditions lead to each of the HTTP error codes. 
For example, a bad chain supplied to the add-chain method should always map to 
"400 Bad Request"  and requesting a proof by hash for a certificate that's not 
in the log should return "404 not found".
2. In the response body itself, the json struct containing error information 
should be well-defined (presumably containing a more detailed error code  and 
human-readable explanation).

Original issue reported on code.google.com by er...@google.com on 29 Jan 2014 at 3:48

GoogleCodeExporter commented 9 years ago
Migrated to http://trac.tools.ietf.org/wg/trans/trac/ticket/7.

Original comment by er...@google.com on 3 Mar 2014 at 8:38