| Index: net/tools/quic/quic_simple_server_stream.cc
|
| diff --git a/net/tools/quic/quic_simple_server_stream.cc b/net/tools/quic/quic_simple_server_stream.cc
|
| index 8609999935b17f636347225b8e6cf126801ef9a3..b715574db8ca00a135e5c33ccbc0e2c6b0628c8e 100644
|
| --- a/net/tools/quic/quic_simple_server_stream.cc
|
| +++ b/net/tools/quic/quic_simple_server_stream.cc
|
| @@ -142,15 +142,8 @@ void QuicSimpleServerStream::SendResponse() {
|
|
|
| // Examing response status, if it was not pure integer as typical h2 response
|
| // status, send error response.
|
| - string request_url;
|
| - if (!request_headers_[":scheme"].as_string().empty()) {
|
| - request_url = request_headers_[":scheme"].as_string() + "://" +
|
| - request_headers_[":authority"].as_string() +
|
| - request_headers_[":path"].as_string();
|
| - } else {
|
| - request_url = request_headers_[":authority"].as_string() +
|
| - request_headers_[":path"].as_string();
|
| - }
|
| + string request_url = request_headers_[":authority"].as_string() +
|
| + request_headers_[":path"].as_string();
|
| int response_code;
|
| SpdyHeaderBlock response_headers = response->headers();
|
| if (!base::StringToInt(response_headers[":status"], &response_code)) {
|
|
|