Opened 8 years ago

Closed 8 years ago

#7 closed defect (fixed)

Clarify error messages from logs

Reported by: eranm@… Owned by: eranm@…
Priority: major Milestone:
Component: rfc6962-bis Version:
Severity: - Keywords:
Cc:

Description

Migrated from https://code.google.com/p/certificate-transparency/issues/detail?id=30:

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).

Change History (1)

comment:1 Changed 8 years ago by eranm@…

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.