/[monit]/monit/http/processor.h
ViewVC logotype

Diff of /monit/http/processor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by martinp, Thu Jan 6 20:51:50 2005 UTC revision 1.17 by hauk, Sun Jan 23 23:11:40 2005 UTC
# Line 27  Line 27 
27  #include "monitor.h"  #include "monitor.h"
28  #include "net.h"  #include "net.h"
29  #include "socket.h"  #include "socket.h"
30    #include "httpstatus.h"
31    
32  /* Server masquerade */  /* Server masquerade */
33  #define SERVER_NAME        "monit"  #define SERVER_NAME        "monit"
# Line 39  Line 40 
40  #define METHOD_GET         "GET"  #define METHOD_GET         "GET"
41  #define METHOD_POST        "POST"  #define METHOD_POST        "POST"
42    
 /* HTTP Status Codes */  
 #define SC_CONTINUE                      100  
 #define SC_SWITCHING_PROTOCOLS           101  
 #define SC_PROCESSING                    102  
 #define SC_OK                            200  
 #define SC_CREATED                       201  
 #define SC_ACCEPTED                      202  
 #define SC_NON_AUTHORITATIVE             203  
 #define SC_NO_CONTENT                    204  
 #define SC_RESET_CONTENT                 205  
 #define SC_PARTIAL_CONTENT               206  
 #define SC_MULTI_STATUS                  207  
 #define SC_MULTIPLE_CHOICES              300  
 #define SC_MOVED_PERMANENTLY             301  
 #define SC_MOVED_TEMPORARILY             302  
 #define SC_SEE_OTHER                     303  
 #define SC_NOT_MODIFIED                  304  
 #define SC_USE_PROXY                     305  
 #define SC_TEMPORARY_REDIRECT            307  
 #define SC_BAD_REQUEST                   400  
 #define SC_UNAUTHORIZED                  401  
 #define SC_PAYMENT_REQUIRED              402  
 #define SC_FORBIDDEN                     403  
 #define SC_NOT_FOUND                     404  
 #define SC_METHOD_NOT_ALLOWED            405  
 #define SC_NOT_ACCEPTABLE                406  
 #define SC_PROXY_AUTHENTICATION_REQUIRED 407  
 #define SC_REQUEST_TIMEOUT               408  
 #define SC_CONFLICT                      409  
 #define SC_GONE                          410  
 #define SC_LENGTH_REQUIRED               411  
 #define SC_PRECONDITION_FAILED           412  
 #define SC_REQUEST_ENTITY_TOO_LARGE      413  
 #define SC_REQUEST_URI_TOO_LARGE         414  
 #define SC_UNSUPPORTED_MEDIA_TYPE        415  
 #define SC_RANGE_NOT_SATISFIABLE         416  
 #define SC_EXPECTATION_FAILED            417  
 #define SC_UNPROCESSABLE_ENTITY          422  
 #define SC_LOCKED                        423  
 #define SC_FAILED_DEPENDENCY             424  
 #define SC_INTERNAL_SERVER_ERROR         500  
 #define SC_NOT_IMPLEMENTED               501  
 #define SC_BAD_GATEWAY                   502  
 #define SC_SERVICE_UNAVAILABLE           503  
 #define SC_GATEWAY_TIMEOUT               504  
 #define SC_VERSION_NOT_SUPPORTED         505  
 #define SC_VARIANT_ALSO_VARIES           506  
 #define SC_INSUFFICIENT_STORAGE          507  
 #define SC_NOT_EXTENDED                  510  
43    
44  /* Initial buffer sizes */  /* Initial buffer sizes */
45  #define STRLEN             256  #define STRLEN             256

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26