| Index: net/server/http_server_response_info.h
|
| diff --git a/net/server/http_server_response_info.h b/net/server/http_server_response_info.h
|
| index d6cedaa844664d295621912f1ac199036c324a8a..bbb76d8836d291130343c3c467680b304b2d2023 100644
|
| --- a/net/server/http_server_response_info.h
|
| +++ b/net/server/http_server_response_info.h
|
| @@ -27,6 +27,9 @@ class HttpServerResponseInfo {
|
|
|
| // This also adds an appropriate Content-Length header.
|
| void SetBody(const std::string& body, const std::string& content_type);
|
| + // Sets content-length and content-type. Body should be sent separately.
|
| + void SetContentHeaders(size_t content_length,
|
| + const std::string& content_type);
|
|
|
| std::string Serialize() const;
|
|
|
|
|