lighthouse/beacon_node
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
..
beacon_chain merge conflict resolution 2023-01-25 11:10:44 +01:00
builder_client Merge remote-tracking branch 'origin/unstable' into capella 2023-01-12 16:22:00 +11:00
client merge capella 2023-01-12 12:51:09 -05:00
eth1 Remove withdrawals-processing feature (#3864) 2023-01-12 15:15:08 +11:00
execution_layer execution API related fixes 2023-01-19 09:32:08 -05:00
genesis Super small improvement: Remove unnecessary mut (#3736) 2022-11-21 03:15:54 +00:00
http_api Return HTTP 404 rather than 405 (#3836) 2023-01-25 14:21:07 +01:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network merge conflict resolution 2023-01-25 11:10:44 +01:00
network merge conflict resolution 2023-01-25 11:10:44 +01:00
operation_pool Added bls_to_execution_changes to PersistedOpPool (#3857) 2023-01-09 12:38:02 +11:00
src get rid of EL endpoint switching at forks 2023-01-13 10:51:45 -05:00
store merge capella 2023-01-12 12:51:09 -05:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml merge capella 2023-01-12 12:51:09 -05:00