mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 00:15:47 +00:00
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.