Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <httperr.h>

httperr.h Global variables

KHttpErrorBase

const TInt KHttpErrorBase=-7200;

Description

Base value for the HTTP error code range (-7200 to -7399)

[Top]


KHttpHeaderEncodeErrorBase

const TInt KHttpHeaderEncodeErrorBase=KHttpErrorBase;

Description

Codec encoding errors for HTTP headers

[Top]


KErrHttpEncodeDefault

const TInt KErrHttpEncodeDefault=KHttpHeaderEncodeErrorBase;

Description

Error making a default encoding of unrecognised headers

[Top]


KErrHttpEncodeAccept

const TInt KErrHttpEncodeAccept=KHttpHeaderEncodeErrorBase - 1;

Description

Error encoding the Accept field

[Top]


KErrHttpEncodeAcceptCharset

const TInt KErrHttpEncodeAcceptCharset=KHttpHeaderEncodeErrorBase - 2;

Description

Error encoding the Accept-Charset field

[Top]


KErrHttpEncodeQValue

const TInt KErrHttpEncodeQValue=KHttpHeaderEncodeErrorBase - 3;

Description

Error encoding a q-value parameter

[Top]


KErrHttpEncodeAuthorization

const TInt KErrHttpEncodeAuthorization=KHttpHeaderEncodeErrorBase - 4;

Description

Error encoding the Authorization field

[Top]


KErrHttpEncodeBasicAuth

const TInt KErrHttpEncodeBasicAuth=KHttpHeaderEncodeErrorBase - 5;

Description

Error encoding Basic credentials

[Top]


KErrHttpEncodeDigestAuth

const TInt KErrHttpEncodeDigestAuth=KHttpHeaderEncodeErrorBase - 6;

Description

Error encoding Digest credentials

[Top]


KErrHttpEncodeConnection

const TInt KErrHttpEncodeConnection=KHttpHeaderEncodeErrorBase - 7;

Description

Error encoding the Connection field

[Top]


KErrHttpEncodeContentLength

const TInt KErrHttpEncodeContentLength=KHttpHeaderEncodeErrorBase - 8;

Description

Error encoding the Content-Length field

[Top]


KErrHttpEncodeContentType

const TInt KErrHttpEncodeContentType=KHttpHeaderEncodeErrorBase - 9;

Description

Error encoding the Content-Type field

[Top]


KErrHttpEncodeHost

const TInt KErrHttpEncodeHost=KHttpHeaderEncodeErrorBase - 10;

Description

Error encoding the Host field

[Top]


KErrHttpEncodeHostPort

const TInt KErrHttpEncodeHostPort=KHttpHeaderEncodeErrorBase - 11;

Description

Error encoding the Host field's port parameter

[Top]


KErrHttpEncodeTransferEncoding

const TInt KErrHttpEncodeTransferEncoding=KHttpHeaderEncodeErrorBase - 12;

Description

Error encoding the Transfer-Encoding field

[Top]


KErrHttpEncodeUserAgent

const TInt KErrHttpEncodeUserAgent=KHttpHeaderEncodeErrorBase - 13;

Description

Error encoding the User-Agent field

[Top]


KErrHttpEncodeDate

const TInt KErrHttpEncodeDate=KHttpHeaderEncodeErrorBase - 14;

Description

Error encoding the Date field

[Top]


KErrHttpEncodeCookie

const TInt KErrHttpEncodeCookie=KHttpHeaderEncodeErrorBase - 15;

Description

Error encoding the Cookie field

[Top]


KErrHttpEncodeCacheControl

const TInt KErrHttpEncodeCacheControl=KHttpHeaderEncodeErrorBase - 16;

Description

Error encoding the Cache-Control field

[Top]


KErrHttpEncodePragma

const TInt KErrHttpEncodePragma=KHttpHeaderEncodeErrorBase - 17;

Description

Error encoding the Pragma field

[Top]


KErrHttpEncodeIfMatch

const TInt KErrHttpEncodeIfMatch=KHttpHeaderEncodeErrorBase - 18;

Description

Error encoding the if match field

[Top]


KErrHttpEncodeIfNoneMatch

const TInt KErrHttpEncodeIfNoneMatch=KHttpHeaderEncodeErrorBase - 19;

Description

Error encoding the if none match field

[Top]


KErrHttpEncodeIfModifiedSince

const TInt KErrHttpEncodeIfModifiedSince=KHttpHeaderEncodeErrorBase - 20;

Description

Error encoding the if modified since field

[Top]


KErrHttpEncodeIfUnmodifiedSince

const TInt KErrHttpEncodeIfUnmodifiedSince=KHttpHeaderEncodeErrorBase - 21;

Description

Error encoding the if unmodified since field

[Top]


KErrHttpEncodeCookie2

const TInt KErrHttpEncodeCookie2=KHttpHeaderEncodeErrorBase - 22;

Description

Error encoding the Cookie2 field

[Top]


KErrHttpEncodeContentLanguage

const TInt KErrHttpEncodeContentLanguage=KHttpHeaderEncodeErrorBase - 23;

Description

Error encoding the Content-Language field

[Top]


KErrHttpEncodeDoWWWAuthenticate

const TInt KErrHttpEncodeDoWWWAuthenticate=KHttpHeaderEncodeErrorBase - 24;

Description

Error encoding the WWWAuthenticate field

[Top]


KErrHttpEncodeDoAge

const TInt KErrHttpEncodeDoAge=KHttpHeaderEncodeErrorBase - 25;

Description

Error encoding the Age field

[Top]


KErrHttpEncodeDoVary

const TInt KErrHttpEncodeDoVary=KHttpHeaderEncodeErrorBase - 26;

Description

Error encoding the Vary field

[Top]


KErrHttpEncodeDoContentLanguage

const TInt KErrHttpEncodeDoContentLanguage=KHttpHeaderEncodeErrorBase - 27;

Description

Error encoding the Content-Language field

[Top]


KErrHttpEncodeContentEncoding

const TInt KErrHttpEncodeContentEncoding=KHttpHeaderEncodeErrorBase - 28;

Description

Error encoding the Content-Encoding field

[Top]


KErrHttpEncodeContentLocation

const TInt KErrHttpEncodeContentLocation=KHttpHeaderEncodeErrorBase - 29;

Description

Error encoding the Content-Location field

[Top]


KErrHttpEncodeContentMD5

const TInt KErrHttpEncodeContentMD5=KHttpHeaderEncodeErrorBase - 30;

Description

Error encoding the Content-MD5 field

[Top]


KErrHttpEncodeAcceptLanguage

const TInt KErrHttpEncodeAcceptLanguage=KHttpHeaderEncodeErrorBase - 31;

Description

Error encoding the Accept-Encoding field

[Top]


KErrHttpEncodeAcceptEncoding

const TInt KErrHttpEncodeAcceptEncoding=KHttpHeaderEncodeErrorBase - 32;

Description

Error encoding the Accept-Language field

[Top]


KErrHttpEncodeTE

const TInt KErrHttpEncodeTE=KHttpHeaderEncodeErrorBase - 33;

Description

Error encoding the TE field

[Top]


KErrHttpEncodeUpgrade

const TInt KErrHttpEncodeUpgrade=KHttpHeaderEncodeErrorBase - 34;

Description

Error encoding the Upgrade field

[Top]


KHttpValueDecodeErrorBase

const TInt KHttpValueDecodeErrorBase=KHttpErrorBase - 60;

Description

Codec decoding errors for values found in HTTP headers

[Top]


KErrHttpDecodeMalformedDate

const TInt KErrHttpDecodeMalformedDate=KHttpValueDecodeErrorBase;

Description

General formatting error for date values

[Top]


KErrHttpDecodeMalformedYear

const TInt KErrHttpDecodeMalformedYear=KHttpValueDecodeErrorBase - 1;

Description

Malformed year

[Top]


KErrHttpDecodeMalformedMonth

const TInt KErrHttpDecodeMalformedMonth=KHttpValueDecodeErrorBase - 2;

Description

Malformed short month name

[Top]


KErrHttpDecodeMalformedDay

const TInt KErrHttpDecodeMalformedDay=KHttpValueDecodeErrorBase - 3;

Description

Malformed number of day in month

[Top]


KErrHttpDecodeMalformedWkDay

const TInt KErrHttpDecodeMalformedWkDay=KHttpValueDecodeErrorBase - 4;

Description

Malformed short day name

[Top]


KErrHttpDecodeMalformedWeekDay

const TInt KErrHttpDecodeMalformedWeekDay=KHttpValueDecodeErrorBase - 5;

Description

Malformed long day name

[Top]


KErrHttpDecodeMalformedInteger

const TInt KErrHttpDecodeMalformedInteger=KHttpValueDecodeErrorBase - 6;

Description

Malformed integer value

[Top]


KErrHttpDecodeMalformedQuotedStr

const TInt KErrHttpDecodeMalformedQuotedStr=KHttpValueDecodeErrorBase - 7;

Description

Malformed quoted string

[Top]


KHttpHeaderDecodeErrorBase

const TInt KHttpHeaderDecodeErrorBase=KHttpErrorBase - 70;

Description

Codec decoding errors for HTTP headers

[Top]


KErrHttpDecodeAccept

const TInt KErrHttpDecodeAccept=KHttpHeaderDecodeErrorBase;

Description

Error decoding the Accept field

[Top]


KErrHttpDecodeConnection

const TInt KErrHttpDecodeConnection=KHttpHeaderDecodeErrorBase - 1;

Description

Error decoding the Connection field

[Top]


KErrHttpDecodeContentLength

const TInt KErrHttpDecodeContentLength=KHttpHeaderDecodeErrorBase - 2;

Description

Error decoding the Content-Length field

[Top]


KErrHttpDecodeContentType

const TInt KErrHttpDecodeContentType=KHttpHeaderDecodeErrorBase - 3;

Description

Error decoding the Content-Type field

[Top]


KErrHttpDecodeTransferEncoding

const TInt KErrHttpDecodeTransferEncoding=KHttpHeaderDecodeErrorBase - 4;

Description

Error decoding the Transfer-Encoding field

[Top]


KErrHttpDecodeWWWAuthenticate

const TInt KErrHttpDecodeWWWAuthenticate=KHttpHeaderDecodeErrorBase - 5;

Description

Error decoding the WWWAuthenticate field

[Top]


KErrHttpDecodeUnknownAuthScheme

const TInt KErrHttpDecodeUnknownAuthScheme=KHttpHeaderDecodeErrorBase - 6;

Description

The WWWAuthenticate field contained an unrecognised authentication scheme

[Top]


KErrHttpDecodeBasicAuth

const TInt KErrHttpDecodeBasicAuth=KHttpHeaderDecodeErrorBase - 7;

Description

Error decoding a Basic WWWAuthenticate challenge

[Top]


KErrHttpDecodeDigestAuth

const TInt KErrHttpDecodeDigestAuth=KHttpHeaderDecodeErrorBase - 8;

Description

Error decoding a Digest WWWAuthenticate challenge

[Top]


KErrHttpDecodeCookie

const TInt KErrHttpDecodeCookie=KHttpHeaderDecodeErrorBase - 9;

Description

Error decoding a Set-Cookie field

[Top]


KErrHttpDecodeAuthorization

const TInt KErrHttpDecodeAuthorization=KHttpHeaderDecodeErrorBase - 10;

Description

Error decoding the Authorization field

[Top]


KErrHttpDecodeAcceptCharset

const TInt KErrHttpDecodeAcceptCharset=KHttpHeaderDecodeErrorBase - 11;

Description

Error decoding the Accept-Charset field

[Top]


KErrHttpDecodeAcceptLanguage

const TInt KErrHttpDecodeAcceptLanguage=KHttpHeaderDecodeErrorBase - 12;

Description

Error decoding the Accept-Language field

[Top]


KErrHttpDecodeAcceptEncoding

const TInt KErrHttpDecodeAcceptEncoding=KHttpHeaderDecodeErrorBase - 13;

Description

Error decoding the Accept-Encoding field

[Top]


KErrHttpDecodeTE

const TInt KErrHttpDecodeTE=KHttpHeaderEncodeErrorBase - 14;

Description

Error decoding the TE field

[Top]


KErrHttpDecodeExpect

const TInt KErrHttpDecodeExpect=KHttpHeaderEncodeErrorBase - 15;

Description

Error decoding the Expect field

[Top]


KErrHttpDecodeContentDisposition

const TInt KErrHttpDecodeContentDisposition=KHttpHeaderDecodeErrorBase - 14;

Description

Error decoding the Content-Disposition field

[Top]


KErrHttpResponseFailureBase

const TInt KErrHttpResponseFailureBase=KHttpErrorBase - 100;

Description

Response errors. These represent specific failure cases

[Top]


KErrHttpRedirectExceededLimit

const TInt KErrHttpRedirectExceededLimit=KErrHttpResponseFailureBase;

Description

A uri redirected too many times, possibly indicating a circular redirection

[Top]


KErrHttpRedirectUseProxy

const TInt KErrHttpRedirectUseProxy=KErrHttpResponseFailureBase - 1;

Description

A server responded that the uri must be fetched via a proxy

[Top]


KErrHttpRedirectNoLocationField

const TInt KErrHttpRedirectNoLocationField=KErrHttpResponseFailureBase - 2;

Description

A server sent a redirection response that did not include a Location header

[Top]


KErrHttpUnknownParseState

const TInt KErrHttpUnknownParseState=KErrHttpResponseFailureBase - 3;

Description

An error occured in parsing which left the parser in a unknown state

[Top]


KErrHttpReqBuildErrorBase

const TInt KErrHttpReqBuildErrorBase=KHttpErrorBase - 130;

Description

Request building errors: cause the Validation Filter to make a transaction fail and terminate

[Top]


KErrHttpRequestHasBody

const TInt KErrHttpRequestHasBody=KErrHttpReqBuildErrorBase;

Description

A body is provided with a method that doesn't allow bodys to be transmitted

[Top]


KErrHttpRequestBodyMissing

const TInt KErrHttpRequestBodyMissing=KErrHttpReqBuildErrorBase - 1;

Description

A body is missing from a method that requires it

[Top]


KErrHttpTraceReqWithoutMaxForwardHeader

const TInt KErrHttpTraceReqWithoutMaxForwardHeader=KErrHttpReqBuildErrorBase - 2;

Description

Should contain The Max-Forward header

[Top]


KErrHttpPostReqBodyWithoutSizeOnHTTP10

const TInt KErrHttpPostReqBodyWithoutSizeOnHTTP10=KErrHttpReqBuildErrorBase - 3;

Description

Body must NOT be sent chunked if using HTTP/1.0

[Top]


KErrHttpInvalidHeaderInRequest

const TInt KErrHttpInvalidHeaderInRequest=KErrHttpReqBuildErrorBase - 4;

Description

Request contained a response header or a entity header but no body

[Top]


KErrHttpMissingHeaderBase

const TInt KErrHttpMissingHeaderBase=KHttpErrorBase - 160;

Description

Missing but required header errors

[Top]


KErrHttpEntityHeaderMissingContentType

const TInt KErrHttpEntityHeaderMissingContentType=KErrHttpMissingHeaderBase;

Description

A body was provided in the request but no Content-Type header was set

[Top]


KErrHttpGeneralHeaderMissingHost

const TInt KErrHttpGeneralHeaderMissingHost=KErrHttpMissingHeaderBase - 1;

Description

The request URI was relative, but no Host header was set to indicate a server to connect to

[Top]


KErrHttpProtocolHandlerBase

const TInt KErrHttpProtocolHandlerBase=KHttpErrorBase - 170;

Description

Protocol handler errors

[Top]


KErrHttpCantResetRequestBody

const TInt KErrHttpCantResetRequestBody=KErrHttpProtocolHandlerBase;

Description

The request body needed to be rewound but the client but it doesn't support

[Top]


KErrHttpProtTransactionNotInitialised

const TInt KErrHttpProtTransactionNotInitialised=KErrHttpProtocolHandlerBase -1;

Description

The Protocol handler is not initialised

[Top]


KErrHttpCannotEstablishTunnel

const TInt KErrHttpCannotEstablishTunnel=KErrHttpProtocolHandlerBase -2;

Description

Unable to establish a tunnel.

[Top]


KErrHttpInvalidUri

const TInt KErrHttpInvalidUri=KErrHttpProtocolHandlerBase -3;

Description

Invalid URI

[Top]


KErrHttpNonPipeliningError

const TInt KErrHttpNonPipeliningError=KErrHttpProtocolHandlerBase -4;

Description

Protocol handler experienced a non-pipelining error

[Top]


KErrHttpPipeliningError

const TInt KErrHttpPipeliningError=KErrHttpProtocolHandlerBase -5;

Description

Protocol handler experienced a pipelining error

[Top]


KErrHttpRequestNotSent

const TInt KErrHttpRequestNotSent=KErrHttpProtocolHandlerBase -6;

Description

The request has been not sent for the transaction and connection has been disconnected. This error will be propagated to the client only, if the HTTP:ENotifyOnDisconnect property is set with a value HTTP::EEnableDisconnectNotification

[Top]


KErrHttpResponseNotReceived

const TInt KErrHttpResponseNotReceived=KErrHttpProtocolHandlerBase -7;

Description

The response has been not received for the transaction and connection has been disconnected. This error will be propagated to the client only, if the HTTP:ENotifyOnDisconnect property is set with a value HTTP::EEnableDisconnectNotification

[Top]


KErrHttpPartialResponseReceived

const TInt KErrHttpPartialResponseReceived=KErrHttpProtocolHandlerBase -8;

Description

Partial response has been received and connection has been disconnected. This error will be propagated to the client only, if the HTTP:ENotifyOnDisconnect property is set with a value HTTP::EEnableDisconnectNotification

[Top]


KErrHttpOptimiserFailsTrans

const TInt KErrHttpOptimiserFailsTrans=KErrHttpProtocolHandlerBase -9;

Description

ClientApplication wants to fail the transaction that was in process by the HTTPMessageParser