Zebra/zebra-rpc/src/server
Alfredo Garcia 219d472270
fix(compatibility): Replace or add RPC content type header when applicable (#6885)
* ignore client supplied content-type header and use json always

* rename method

* add one more check to test

* Add missing proptest-impl dependency from zebrad to zebra-rpc

* change to replace only specific content type

* remove cargo mods

* refactor `insert_or_replace_content_type_header`

* add security comments

* allow variants of text/plain ocntent_type

---------

Co-authored-by: teor <teor@riseup.net>
2023-06-14 19:02:55 +00:00
..
tests fix(build): Fix new nightly clippy lints and cargo feature resolution (#6814) 2023-06-07 06:04:04 +00:00
http_request_compatibility.rs fix(compatibility): Replace or add RPC content type header when applicable (#6885) 2023-06-14 19:02:55 +00:00
rpc_call_compatibility.rs fix(log): Limit RPC failure log length, add details to RPC failure logs (#6754) 2023-05-25 18:28:25 +00:00
tests.rs fix(rpc): Isolate RPC queries from the rest of Zebra, to improve performance (#4806) 2022-09-01 16:20:22 +00:00