lighthouse/common/eth2
AMIT SINGH a227ee7478 Use MediaType accept header parser (#4216)
## Issue Addressed

#3510 

## Proposed Changes

- Replace mime with MediaTypeList
- Remove parse_accept fn as MediaTypeList does it built-in
- Get the supported media type of the highest q-factor in a single list iteration without sorting

## Additional Info

I have addressed the suggested changes in previous [PR](https://github.com/sigp/lighthouse/pull/3520#discussion_r959048633)
2023-06-13 10:25:27 +00:00
..
src Use MediaType accept header parser (#4216) 2023-06-13 10:25:27 +00:00
Cargo.toml Use MediaType accept header parser (#4216) 2023-06-13 10:25:27 +00:00