nn::boss::Task::GetHttpStatusCode Member Function

Syntax

u32 GetHttpStatusCode(
     u32 * pCount = NULL,
     u8 * pStepID = NULL
);

Arguments

Name Description
out pCount Returns the execution count. (Optional.)
out pStepID Returns the task step ID. (Optional.)

Return Values

Returns the communication error code.


Value Description
U32_CANNOT_GET_DATA Unable to get data.

Description

Gets the communication error code. The following examples show common HTTP response codes.
200 OK: HTTP request successful.
206 Partial Content: HTTP GET request partially fulfilled, with more data still to come.
401 Unauthorized: Basic authentication required, or authorization credentials refused by server. Basic authentication is not supported, so do not use this.
404 Not Found: Specified URL not found. Check whether the URL is correct or whether the content has been deleted.
403 Forbidden: User does not have access to the specified URL. Check that the URL is correct.
500 Internal Server Error: An error on the server has prevented it from fulfilling the request. Contact the server administrator.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL