Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: httperr.h

Error constants

Support

Supported from 7.0

Description

HTTP external errors and leave codes.


KHttpErrorBase

const TInt KHttpErrorBase=- 7200;

Description

Base value for the HTTP error code range.

[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]


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]


KErrHttpResponseFailureBase

const TInt KErrHttpResponseFailureBase=KHttpErrorBase - 100;

Description

Starting point of response failure error codes.

[Top]


KErrHttpRedirectExceededLimit

const TInt KErrHttpRedirectExceededLimit=KErrHttpResponseFailureBase;

Description

A server responded that the URI must be fetched via a proxy.

[Top]


KErrHttpRedirectUseProxy

const TInt KErrHttpRedirectUseProxy=KErrHttpResponseFailureBase - 1;

Description

A URI redirected too many times, possibly indicating a circular redirection.

[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 an unknown state.

[Top]


KErrHttpReqBuildErrorBase

const TInt KErrHttpReqBuildErrorBase=KHttpErrorBase - 130;

Description

Request building errors: caused 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 bodies 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

The request should contain the Max-Forward header.

[Top]


KErrHttpPostReqBodyWithoutSizeOnHTTP10

const TInt KErrHttpPostReqBodyWithoutSizeOnHTTP10=KErrHttpReqBuildErrorBase - 3;

Description

The body must NOT be sent chunked if using HTTP/1.0.

[Top]


KErrHttpInvalidHeaderInRequest

const TInt KErrHttpInvalidHeaderInRequest=KErrHttpReqBuildErrorBase - 4;

Description

The 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 doesn't support this.

[Top]


KErrHttpProtTransactionNotInitialised

const TInt KErrHttpProtTransactionNotInitialised=KErrHttpProtocolHandlerBase - 1;

Description

Transaction not initialised.