Savarese Software Research Corporation
HTTPResponse.h File Reference

This header defines the HTTPResponse class. More...

#include <string>
#include <boost/filesystem/path.hpp>
#include <ssrc/wispers-packages.h>
Include dependency graph for HTTPResponse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HTTPResponse
 Abstract class defining the interface for a response to an HTTP request. More...

Enumerations

enum  HTTPStatusCode {
  StatusOK = 200, StatusFound = 302, StatusBadRequest = 400, StatusUnauthorized = 401,
  StatusPaymentRequired = 402, StatusForbidden = 403, StatusNotFound = 404, StatusMethodNotAllowed = 405,
  StatusNotAcceptable = 406, StatusProxyAuthenticationRequired = 407, StatusRequestTimeout = 408, StatusConflict = 409,
  StatusGone = 410, StatusLengthRequired = 411, StatusPreconditionFailed = 412, StatusRequestEntityTooLarge = 413,
  StatusRequestURITooLong = 414, StatusInternalServerError = 500, StatusMethodNotImplemented = 501, StatusBadGateway = 502,
  StatusServiceUnavailable = 503, StatusGatewayTimeout = 504
}
 Defines HTTP status codes. More...

Variables

const bool CacheDisable = true
const bool CacheEnable = false

Detailed Description

This header defines the HTTPResponse class.

Definition in file HTTPResponse.h.


Enumeration Type Documentation

Defines HTTP status codes.

Enumerator:
StatusOK 
StatusFound 
StatusBadRequest 
StatusUnauthorized 
StatusPaymentRequired 
StatusForbidden 
StatusNotFound 
StatusMethodNotAllowed 
StatusNotAcceptable 
StatusProxyAuthenticationRequired 
StatusRequestTimeout 
StatusConflict 
StatusGone 
StatusLengthRequired 
StatusPreconditionFailed 
StatusRequestEntityTooLarge 
StatusRequestURITooLong 
StatusInternalServerError 
StatusMethodNotImplemented 
StatusBadGateway 
StatusServiceUnavailable 
StatusGatewayTimeout 

Definition at line 37 of file HTTPResponse.h.


Variable Documentation

const bool CacheDisable = true

Definition at line 62 of file HTTPResponse.h.

Referenced by Renderer::send_error().

const bool CacheEnable = false

Definition at line 63 of file HTTPResponse.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.