vivek807 commented on code in PR #16672:
URL: https://github.com/apache/druid/pull/16672#discussion_r1714657450
##########
server/src/main/java/org/apache/druid/server/QueryResultPusher.java:
##########
@@ -121,6 +128,11 @@ public Response push()
final Response.ResponseBuilder startResponse = resultsWriter.start();
if (startResponse != null) {
startResponse.header(QueryResource.QUERY_ID_RESPONSE_HEADER, queryId);
+
+ if (includeTrailerHeader) {
+ startResponse.header(HttpHeader.TRAILER.toString(),
QueryResource.ERROR_MESSAGE_TRAILER_HEADER);
Review Comment:
As per standard, we need to specify the header names which will be part of
Trailer.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]