HTTP.cc File Reference

#include <stdio.h>
#include <string.h>
#include "HTTP.h"

Go to the source code of this file.

Classes

struct  http_code

Variables

const http_code _http_status []
const http_code _http_header []


Variable Documentation

const http_code _http_header[] [static]
 

Initial value:

 {
        {HTTP_SERVER,         "Server: ",         sizeof ("Server: ")},
        {HTTP_CONTENT_TYPE,   "Content-Type: ",   sizeof ("Content-type: ")},
        {HTTP_CONTENT_LENGTH, "Content-Length: ", sizeof ("Content-length: ")},
        {HTTP_MIME_VERSION,   "MIME-Version: ",   sizeof ("MIME-Version: ")},
        {HTTP_EXPIRES,        "Expires: ",        sizeof ("Expires: ")},
        {HTTP_DATE,           "Date: ",           sizeof ("Date: ")},
        {HTTP_HEADER_END,     "\r\n",             sizeof ("\r\n")},
}

Definition at line 35 of file HTTP.cc.

Referenced by HTTP::HeaderField().

const http_code _http_status[] [static]
 

Initial value:

 {
        {100, "Continue",               sizeof("Continue")},
        {101, "Switching Protocols",    sizeof("Switching Protocols")},
        {200, "Ok",                     sizeof("Ok")},
        {201, "Created",                sizeof("Created")},
        {202, "Accepted",               sizeof("Accepted")},
        {204, "No Content",             sizeof("No Content")},
        {400, "Bad Request",            sizeof("Bad Request")},
        {400, "Not Found",              sizeof("Not Found")},
        {500, "Internal Server Error",  sizeof("Internal Server Error")},
        {501, "Not Implemented",        sizeof("Not Implemented")},
}

Definition at line 22 of file HTTP.cc.

Referenced by HTTP::Status().


Generated on Sun Dec 2 23:04:31 2007 for openSDK by  doxygen 1.3.9.1