chromium/net/server/http_server_response_info.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/server/http_server_response_info.h"

#include "base/check.h"
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "net/http/http_request_headers.h"

namespace net {

HttpServerResponseInfo::HttpServerResponseInfo() :{}

HttpServerResponseInfo::HttpServerResponseInfo(HttpStatusCode status_code)
    :{}

HttpServerResponseInfo::HttpServerResponseInfo(
    const HttpServerResponseInfo& other) = default;

HttpServerResponseInfo::~HttpServerResponseInfo() = default;

// static
HttpServerResponseInfo HttpServerResponseInfo::CreateFor404() {}

// static
HttpServerResponseInfo HttpServerResponseInfo::CreateFor500(
    const std::string& body) {}

void HttpServerResponseInfo::AddHeader(const std::string& name,
                                       const std::string& value) {}

void HttpServerResponseInfo::SetBody(const std::string& body,
                                     const std::string& content_type) {}

void HttpServerResponseInfo::SetContentHeaders(
    size_t content_length,
    const std::string& content_type) {}

std::string HttpServerResponseInfo::Serialize() const {}

HttpStatusCode HttpServerResponseInfo::status_code() const {}

const std::string& HttpServerResponseInfo::body() const {}

}  // namespace net