C
static void HTTPHeaderParseAuthorization();
Description
Parses the "Authorization:" header for a request. For example, "BASIC YWRtaW46cGFzc3dvcmQ=" is decoded to a user name of "admin" and a password of "password". Once read, HTTPCheckAuth is called from CustomHTTPApp.c to determine if the credentials are acceptable.
The return value of HTTPCheckAuth is saved in curHTTP.isAuthorized for later use by the application.
Preconditions
None
Returns
None
Remarks
This function is ony available when HTTP_USE_AUTHENTICATION is defined.