Closed ThomasR closed 8 years ago
Currently, the configuration
"error": {"error": "foo", …}
results in a generated response body:
{"faultCode": "foo"}
This should be more flexible. We want to have
"status": 404
which sends the HTTP status code. The response body should be taken from the file attribute. If file is missing, we send an empty body. status should default to 200.
file
status
Also, add documentation for the above!
Currently, the configuration
results in a generated response body:
This should be more flexible. We want to have
which sends the HTTP status code. The response body should be taken from the
file
attribute. Iffile
is missing, we send an empty body.status
should default to 200.