o19s / opensearch-ubi

OpenSearch plugin for User Behavior Insights
Apache License 2.0
6 stars 1 forks source link

Exposed query id and HTTP TRACE #80

Closed RasonJ closed 8 months ago

RasonJ commented 8 months ago

Added Access-Control-Expose-Headers header to allow query_id to get past CORS restrictions. Testing can be done with https://github.com/o19s/ubi_playground/blob/main/tools/stub/cors_test.html.

I'm also leaving in the HTTP TRACE verb so that we can do testing without breaking anything else in the plugin.