diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index 5fcf0d2cf40..3eded703959 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -6877,13 +6877,6 @@ HttpSM::setup_server_transfer() nbytes = server_transfer_init(buf, hdr_size); - if (t_state.is_cacheable_due_to_negative_caching_configuration && - t_state.hdr_info.server_response.status_get() == HTTP_STATUS_NO_CONTENT) { - int s = sizeof("No Content") - 1; - buf->write("No Content", s); - nbytes += s; - } - HTTP_SM_SET_DEFAULT_HANDLER(&HttpSM::tunnel_handler); HttpTunnelProducer *p =