chengyouling commented on code in PR #4875:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/4875#discussion_r2255766252


##########
foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/HttpServletResponseEx.java:
##########
@@ -48,4 +48,8 @@ default Flowable<Buffer> getFlowableBuffer() {
   }
 
   void endResponse() throws IOException;
+
+  default void setChunkedForEvent(boolean chunked) {
+    // not set header transfer-encoding=chunked in Rest Over Servlet, or will 
have Multiple in response.
+  }

Review Comment:
   The chunked header is empty when constructing the response in Rest Over 
Servlet model, so it be always add chunked header information, and tomcat 
itself will actively construct the chunked response header in the streaming 
scenario.



-- 
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]

Reply via email to