Add http status code 503

When we are not capable to provide a certain kind of service, but should be
after some delay. Http server is better to reply status code 503. It is more
suggestive per as to http spec.

```
The server is currently unable to handle the request due to a temporary
overload or scheduled maintenance, which will likely be alleviated after some delay.
```

Signed-off-by: Changwei Ge <chge@linux.alibaba.com>
This commit is contained in:
Changwei Ge
2020-10-28 16:05:28 +08:00
committed by Alin Dima
parent 40309b72ee
commit 59ab64440a
2 changed files with 5 additions and 1 deletions

View File

@@ -1 +1 @@
{"coverage_score": 92.4, "exclude_path": "", "crate_features": ""}
{"coverage_score": 92.5, "exclude_path": "", "crate_features": ""}