Previous Topic: Extract HTTP Headers Using a Shell ScriptNext Topic: Extract HTTP Headers Using PERL


Extract HTTP Headers Using NSAPI

This example shows an application that makes an Oracle iPlanet API (NSAPI) call to retrieve a header. The name/value pairs exist in the request structure’s header block.

The header is accessed as follows:

char * user;
user = pblock_findval(“HTTP_SM_USER”, rq->headers);