Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: mojo/services/http_server/public/interfaces/http_response.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 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.
4
5 [DartPackage="mojo_services"]
6 module http_server;
7
8 struct HttpResponse {
9 // The HTTP status code.
10 uint32 status_code = 200;
11
12 // The payload for the response body.
13 handle<data_pipe_consumer>? body;
14
15 // This must be the number of bytes in |body|.
16 int64 content_length = 0;
17
18 // The content type.
19 string content_type = "text/html; charset=utf-8";
20
21 // Additional HTTP response headers.
22 map<string, string>? custom_headers;
23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698