lighthouse/beacon_node/http_api
Santiago Medina bd7bd005ee Return HTTP 404 rather than 405 (#3836)
Issue #3112

Add `Filter::recover` to the GET chain to handle rejections specifically as 404 NOT FOUND

Making a request to `http://localhost:5052/not_real` now returns the following:

```
{
    "code": 404,
    "message": "NOT_FOUND",
    "stacktraces": []
}
```

Co-authored-by: Paul Hauner <paul@paulhauner.com>
2023-01-25 14:21:07 +01:00
..
src Return HTTP 404 rather than 405 (#3836) 2023-01-25 14:21:07 +01:00
tests Merge remote-tracking branch 'origin/unstable' into capella 2023-01-12 16:22:00 +11:00
Cargo.toml Isolate withdrawals-processing Feature (#3854) 2023-01-09 11:05:28 +11:00