We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c214c1b commit 1ad3685Copy full SHA for 1ad3685
1 file changed
trino-lb/src/http_server/mod.rs
@@ -130,9 +130,10 @@ pub async fn start_http_server(
130
.route("/ui/index.html", get(ui::index::get_ui_index))
131
.route("/ui/query.html", get(ui::query::get_ui_query))
132
.layer(TraceLayer::new_for_http())
133
- // E.g. "/v1/trino-event-listener" get's compressed data from Trino
+ // The Trino HTTP events (received at `/v1/trino-event-listener`) are compressed by default, so we need to need
134
+ // to be able to accept compressed content
135
.layer(RequestDecompressionLayer::new())
- // Trino clients can ask for compressed data
136
+ // Trino clients can ask for compressed data, so we should support compressing the response
137
.layer(CompressionLayer::new())
138
.with_state(app_state);
139
0 commit comments