1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "net/server/http_server_request_info.h"
7 #include "base/strings/string_util.h"
11 HttpServerRequestInfo::HttpServerRequestInfo() {}
13 HttpServerRequestInfo::~HttpServerRequestInfo() {}
15 std::string
HttpServerRequestInfo::GetHeaderValue(
16 const std::string
& header_name
) const {
17 DCHECK_EQ(StringToLowerASCII(header_name
), header_name
);
18 HttpServerRequestInfo::HeadersMap::const_iterator it
=
19 headers
.find(header_name
);
20 if (it
!= headers
.end())