[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_ConnReturnUnauthorized

Overview

Return an "unauthorized" HTTP status line.

Syntax

    int Ns_ConnReturnUnauthorized(
    Ns_Conn *conn
    );

Description

Calls Ns_ConnReturnStatus or Ns_ConnReturnNotice with a status code of 401 to indicate that the request did not include a valid Authorization header or the header did not specify an authorized user. The user will usually be prompted for a username/password after this status is returned.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.