diff --git a/src/core/util/http_client/httpcli.cc b/src/core/util/http_client/httpcli.cc index ec2991a66fa78..226d352fb302a 100644 --- a/src/core/util/http_client/httpcli.cc +++ b/src/core/util/http_client/httpcli.cc @@ -79,9 +79,9 @@ OrphanablePtr HttpRequest::Get( } std::string name = absl::StrFormat("HTTP:GET:%s:%s", uri.authority(), uri.path()); - const grpc_slice request_text = grpc_httpcli_format_get_request( - request, uri.authority().c_str(), - uri.EncodedPathAndQueryParams().c_str()); + const grpc_slice request_text = + grpc_httpcli_format_get_request(request, uri.authority().c_str(), + uri.EncodedPathAndQueryParams().c_str()); return MakeOrphanable( std::move(uri), request_text, response, deadline, channel_args, on_done, pollent, name.c_str(), std::move(test_only_generate_response), @@ -104,9 +104,9 @@ OrphanablePtr HttpRequest::Post( } std::string name = absl::StrFormat("HTTP:POST:%s:%s", uri.authority(), uri.path()); - const grpc_slice request_text = grpc_httpcli_format_post_request( - request, uri.authority().c_str(), - uri.EncodedPathAndQueryParams().c_str()); + const grpc_slice request_text = + grpc_httpcli_format_post_request(request, uri.authority().c_str(), + uri.EncodedPathAndQueryParams().c_str()); return MakeOrphanable( std::move(uri), request_text, response, deadline, channel_args, on_done, pollent, name.c_str(), std::move(test_only_generate_response), @@ -129,9 +129,9 @@ OrphanablePtr HttpRequest::Put( } std::string name = absl::StrFormat("HTTP:PUT:%s:%s", uri.authority(), uri.path()); - const grpc_slice request_text = grpc_httpcli_format_put_request( - request, uri.authority().c_str(), - uri.EncodedPathAndQueryParams().c_str()); + const grpc_slice request_text = + grpc_httpcli_format_put_request(request, uri.authority().c_str(), + uri.EncodedPathAndQueryParams().c_str()); return MakeOrphanable( std::move(uri), request_text, response, deadline, channel_args, on_done, pollent, name.c_str(), std::move(test_only_generate_response), @@ -278,8 +278,8 @@ void HttpRequest::ContinueDoneWriteAfterScheduleOnExecCtx( } void HttpRequest::StartWrite() { - GRPC_TRACE_LOG(http1, INFO) << "Sending HTTP1 request: " - << StringViewFromSlice(request_text_); + GRPC_TRACE_LOG(http1, INFO) + << "Sending HTTP1 request: " << StringViewFromSlice(request_text_); CSliceRef(request_text_); grpc_slice_buffer_add(&outgoing_, request_text_); Ref().release(); // ref held by pending write