GetHttpStatusCode

nn::boss::NsaList::GetHttpStatusCode Member Function

Syntax

u32 GetHttpStatusCode(
     void
);

Parameters

None.

Return Values

Returns the communication error code.


Value Description
U32_CANNOT_GET_DATA Unable to get data.

Description

Gets the HTTP status code received when an NSA list is downloaded.

Use this to get the HTTP status code obtained after the NsaList::Download function is run. The following are examples of HTTP status codes that are often obtained by the NSA list feature.

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

2011/10/27
Initial version.

CONFIDENTIAL