dylanzhang commented on issue #1610:
URL: https://github.com/apache/incubator-brpc/issues/1610#issuecomment-975174731


   > > > ```c++
   > > > if (some_condition) {
   > > >     
cntl->http_response().set_status_code(brpc::HTTP_STATUS_NO_CONTENT);
   > > >     return ;
   > > > }
   > > > ```
   > > 
   > > 
   > > 我这么实现也不行,body会有{}占用两个字节
   > 
   > 那你可以尝试修改~HttpResponseSender()的实现 
https://github.com/apache/incubator-brpc/blob/master/src/brpc/policy/http_rpc_protocol.cpp#L706
   
   请问一下,这个在后续迭代中有计划要升级吗?
   
   


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

Reply via email to