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

Side by Side Diff: third_party/mojo_services/src/http_server/public/interfaces/http_response.mojom

Issue 1019173002: Update mojo sdk to rev 7214b7ec7d27563b2666afad86cf1c5895c56c18 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep permission service alive if embedder drops requests Created 5 years, 9 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 module http_server;
6
7 struct HttpResponse {
8 // The HTTP status code.
9 uint32 status_code = 200;
10
11 // The payload for the response body.
12 handle<data_pipe_consumer>? body;
13
14 // This must be the number of bytes in |body|.
15 int64 content_length = 0;
16
17 // The content type.
18 string content_type = "text/html; charset=utf-8";
19
20 // Additional HTTP response headers.
21 map<string, string>? custom_headers;
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698