(file) Return to Constants.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Constants.h between version 1.157 and 1.158

version 1.157, 2013/06/13 13:55:01 version 1.158, 2013/12/16 09:37:27
Line 127 
Line 127 
 #define HTTP_REASONPHRASE_OK "OK" #define HTTP_REASONPHRASE_OK "OK"
 #define HTTP_STATUS_OK "200 OK" #define HTTP_STATUS_OK "200 OK"
  
   #define HTTP_STATUSCODE_PARTIALCONTENT 206
   #define HTTP_REASONPHRASE_PARTIALCONTENT "Partial Content"
   #define HTTP_PARTIALCONTENT "206 Partial Content"
   
 #define HTTP_STATUSCODE_BADREQUEST 400 #define HTTP_STATUSCODE_BADREQUEST 400
 #define HTTP_REASONPHRASE_BADREQUEST "Bad Request" #define HTTP_REASONPHRASE_BADREQUEST "Bad Request"
 #define HTTP_STATUS_BADREQUEST "400 Bad Request" #define HTTP_STATUS_BADREQUEST "400 Bad Request"
Line 139 
Line 143 
 #define HTTP_REASONPHRASE_FORBIDDEN    "Forbidden" #define HTTP_REASONPHRASE_FORBIDDEN    "Forbidden"
 #define HTTP_STATUS_FORBIDDEN    "403 Forbidden" #define HTTP_STATUS_FORBIDDEN    "403 Forbidden"
  
   #define HTTP_STATUSCODE_NOTFOUND    404
   #define HTTP_REASONPHRASE_NOTFOUND  "Not Found"
   #define HTTP_STATUS_NOTFOUND        "404 Not Found"
   
   #define HTTP_STATUSCODE_NOTFOUND    404
   #define HTTP_REASONPHRASE_NOTFOUND  "Not Found"
   #define HTTP_STATUS_NOTFOUND        "404 Not Found"
   
   #ifdef PEGASUS_ENABLE_PROTOCOL_WEB
    #define HTTP_STATUSCODE_METHODNOTALLOWED 405
    #define HTTP_REASONPHRASE_METHODNOTALLOWED "Method Not Allowed"
    #define HTTP_STATUS_METHODNOTALLOWED "405 Method Not Allowed"
   
    #define HTTP_STATUSCODE_NOTACCEPTABLE 406
    #define HTTP_REASONPHRASE_NOTACCEPTABLE "Not Acceptable"
    #define HTTP_STATUS_NOTACCEPTABLE "406 Not Acceptable"
   #endif /* PEGASUS_ENABLE_PROTOCOL_WEB */
   
 #define HTTP_STATUSCODE_REQUEST_TOO_LARGE 413 #define HTTP_STATUSCODE_REQUEST_TOO_LARGE 413
 #define HTTP_REASONPHRASE_REQUEST_TOO_LARGE "Request Entity Too Large" #define HTTP_REASONPHRASE_REQUEST_TOO_LARGE "Request Entity Too Large"
 #define HTTP_STATUS_REQUEST_TOO_LARGE "413 Request Entity Too Large" #define HTTP_STATUS_REQUEST_TOO_LARGE "413 Request Entity Too Large"
  
   #ifdef PEGASUS_ENABLE_PROTOCOL_WEB
    #define HTTP_STATUSCODE_REQUESTURITOOLONG 414
    #define HTTP_REASONPHRASE_REQUESTURITOOLONG "Request URI Too Long"
    #define HTTP_STATUS_REQUESTURITOOLONG "414 Request URI Too Long"
   #endif /* PEGASUS_ENABLE_PROTOCOL_WEB */
   
 #define HTTP_STATUSCODE_INTERNALSERVERERROR 500 #define HTTP_STATUSCODE_INTERNALSERVERERROR 500
 #define HTTP_REASONPHRASE_INTERNALSERVERERROR "Internal Server Error" #define HTTP_REASONPHRASE_INTERNALSERVERERROR "Internal Server Error"
 #define HTTP_STATUS_INTERNALSERVERERROR "500 Internal Server Error" #define HTTP_STATUS_INTERNALSERVERERROR "500 Internal Server Error"
Line 155 
Line 183 
 #define HTTP_REASONPHRASE_SERVICEUNAVAILABLE "Service Unavailable" #define HTTP_REASONPHRASE_SERVICEUNAVAILABLE "Service Unavailable"
 #define HTTP_STATUS_SERVICEUNAVAILABLE "503 Service Unavailable" #define HTTP_STATUS_SERVICEUNAVAILABLE "503 Service Unavailable"
  
   #ifdef PEGASUS_ENABLE_PROTOCOL_WEB
    #define HTTP_STATUSCODE_VERSIONNOTSUPPORTED 505
    #define HTTP_REASONPHRASE_VERSIONNOTSUPPORTED "HTTP Version Not Supported"
    #define HTTP_STATUS_VERSIONNOTSUPPORTED "505 HTTP Version Not Supported"
   #endif /* PEGASUS_ENABLE_PROTOCOL_WEB */
   
  
 /* /*
  * Default port numbers  * Default port numbers


Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2