Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

HttpResponse.d File Reference

Go to the source code of this file.

Classes

struct  HttpStatus
struct  HttpResponses
class  HttpResponse

Enumerations

enum  HttpResponseCode {
  Continue = 100, SwitchingProtocols = 101, OK = 200, Created = 201,
  Accepted = 202, NonAuthoritativeInformation = 203, NoContent = 204, ResetContent = 205,
  PartialContent = 206, MultipleChoices = 300, MovedPermanently = 301, MovedTemporarily = 302,
  SeeOther = 303, NotModified = 304, UseProxy = 305, BadRequest = 400,
  Unauthorized = 401, PaymentRequired = 402, Forbidden = 403, NotFound = 404,
  MethodNotAllowed = 405, NotAcceptable = 406, ProxyAuthenticationRequired = 407, RequestTimeout = 408,
  Conflict = 409, Gone = 410, LengthRequired = 411, PreconditionFailed = 412,
  RequestEntityTooLarge = 413, RequestURITooLarge = 414, UnsupportedMediaType = 415, RequestedRangeNotSatisfiable = 416,
  ExpectationFailed = 417, InternalServerError = 500, NotImplemented = 501, BadGateway = 502,
  ServiceUnavailable = 503, GatewayTimeout = 504, VersionNotSupported = 505
}

Variables

module mango http server HttpResponse
import mango io Buffer
import mango io mango io Writer
import mango io model IWriter
import mango http HttpWriter
import mango http server HttpParams
import mango http server mango
http server 
HttpCookies
import mango http server mango
http server mango http server 
HttpHeaders
import mango http server mango
http server mango http server
mango http server 
HttpMessage
import mango http server model IProviderBridge
const int ParamsBufferSize = 1 * 1024
const int HeaderBufferSize = 4 * 1024


Detailed Description

Copyright (C) 2004 Kris Bell

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for damages of any kind arising from the use of this software.

Permission is hereby granted to anyone to use this software for any purpose, including commercial applications, and to alter it and/or redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment within documentation of said product would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any distribution of the source.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version:
Initial version, April 2004
Author:
Kris

Definition in file HttpResponse.d.


Enumeration Type Documentation

enum HttpResponseCode
 

Declare the traditional set of HTTP response codes

Enumeration values:
Continue 
SwitchingProtocols 
OK 
Created 
Accepted 
NonAuthoritativeInformation 
NoContent 
ResetContent 
PartialContent 
MultipleChoices 
MovedPermanently 
MovedTemporarily 
SeeOther 
NotModified 
UseProxy 
BadRequest 
Unauthorized 
PaymentRequired 
Forbidden 
NotFound 
MethodNotAllowed 
NotAcceptable 
ProxyAuthenticationRequired 
RequestTimeout 
Conflict 
Gone 
LengthRequired 
PreconditionFailed 
RequestEntityTooLarge 
RequestURITooLarge 
UnsupportedMediaType 
RequestedRangeNotSatisfiable 
ExpectationFailed 
InternalServerError 
NotImplemented 
BadGateway 
ServiceUnavailable 
GatewayTimeout 
VersionNotSupported 

Definition at line 82 of file HttpResponse.d.

Referenced by ServletProvider::error(), and HttpClient::isResponseOK().


Variable Documentation

module mango http server HttpResponse
 

Definition at line 36 of file HttpResponse.d.

import mango io Buffer
 

Definition at line 38 of file HttpResponse.d.

import mango io mango io Writer
 

Definition at line 38 of file HttpResponse.d.

import mango io model IWriter
 

Definition at line 41 of file HttpResponse.d.

import mango http HttpWriter
 

Definition at line 43 of file HttpResponse.d.

import mango http server HttpParams
 

Definition at line 45 of file HttpResponse.d.

import mango http server mango http server HttpCookies
 

Definition at line 45 of file HttpResponse.d.

import mango http server mango http server mango http server HttpHeaders
 

Definition at line 45 of file HttpResponse.d.

import mango http server mango http server mango http server mango http server HttpMessage
 

Definition at line 45 of file HttpResponse.d.

import mango http server model IProviderBridge
 

Definition at line 50 of file HttpResponse.d.

const int ParamsBufferSize = 1 * 1024 [static]
 

Some constants for output buffer sizes

Definition at line 60 of file HttpResponse.d.

Referenced by HttpResponse::this().

const int HeaderBufferSize = 4 * 1024 [static]
 

Definition at line 61 of file HttpResponse.d.

Referenced by HttpResponse::this().


Generated on Sun Nov 7 19:06:56 2004 for Mango by doxygen 1.3.6