Home | History | Annotate | Download | only in src
      1 // Copyright 2015 The Weave 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 #ifndef LIBWEAVE_SRC_HTTP_CONSTANTS_H_
      6 #define LIBWEAVE_SRC_HTTP_CONSTANTS_H_
      7 
      8 namespace weave {
      9 namespace http {
     10 
     11 const int kContinue = 100;
     12 const int kOk = 200;
     13 const int kBadRequest = 400;
     14 const int kDenied = 401;
     15 const int kForbidden = 403;
     16 const int kNotFound = 404;
     17 const int kInternalServerError = 500;
     18 const int kServiceUnavailable = 503;
     19 const int kNotSupported = 501;
     20 
     21 extern const char kAuthorization[];
     22 extern const char kContentType[];
     23 
     24 extern const char kJson[];
     25 extern const char kJsonUtf8[];
     26 extern const char kPlain[];
     27 extern const char kWwwFormUrlEncoded[];
     28 
     29 }  // namespace http
     30 }  // namespace weave
     31 
     32 #endif  // LIBWEAVE_SRC_HTTP_CONSTANTS_H_
     33