mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
0b514f82a0
Currently custom headers that should be passed through rest requests are registered by depending on the RestController in guice and calling a registration method. This change moves that registration to a getter for plugins, and makes the RestController take the set of headers on construction.