Global Variables, Constants, and Defined Types



Global Variables


dns_resolver

Declared in: DNSResolver.h

	DNSResolver dns_resolver

brTimeLock

Declared in: HTTPUtils.h

	BLocker brTimeLock


Constants


HTTP Methods

Declared in: HTTPUtils.h

enum http_method
METHOD_POST
METHOD_GET
METHOD_HEAD
METHOD_OPTIONS
METHOD_PUT
METHOD_DELETE
METHOD_TRACE
METHOD_UNKNOWN


enum URI_Type
absolueURI
relativeURI


enum Path_Type
abs_path
rel_path
empty_path

HTTP Header Strings

Declared in: HTTPUtils.h

const char *name
Value
kHEAD_ALLOWAllow
kHEAD_AUTHORIZATIONAuthorization
kHEAD_ENCODINGContent-Encoding
kHEAD_ACCEPT_ENCODINGAccept-Encoding
kHEAD_CONNECTIONConnection
kHEAD_LENGTHContent-Length
kHEAD_TYPEContent-Type
kHEAD_DATEDate
kHEAD_EXPIRESExpires
kHEAD_FROMFrom
kHEAD_IF_MODIFIEDIf-Modified-Since
kHEAD_IF_UNMODIFIEDIf-Unmodified-Since
kHEAD_LAST_MODIFIEDLast-Modified
kHEAD_LOCATIONLocation
kHEAD_PRAGMAPragma
kHEAD_REFRESHERRefresher
kHEAD_SERVERServer
kHEAD_HOSTHost
kHEAD_AGENTUser-Agent
kHEAD_AUTHENTICATEWWW-Authenticate
kHEAD_CONTENT_RANGERange
kHEAD_RANGEContent-Range
kCRLF\r\n
kHTTP_DATE%a, %d %b %Y %H:%M:%S GMT

Defined Types


brokenURI

Declared in: HTTPUtils.h

	struct brokenURI
	{
		URI_Type 	URIType;
		
		char		scheme[16];
		char		host[64];
		char		port[8];
		
		Path_Type	PathType;
		
		char		path[2048];
		char		params[2048];
		char		query[2048];
	};


libHTTP - A high-level HTTP API for the BeOS


Copyright (C) 1999 Joe Kloss