#include <htp.h>
Data Fields | |
bstr * | scheme |
bstr * | username |
bstr * | password |
bstr * | hostname |
bstr * | port |
int | port_number |
bstr * | path |
bstr * | query |
bstr * | fragment |
URI structure. Each of the fields provides access to a single URI element. Where an element is not present in a URI, the corresponding field will be set to NULL or -1, depending on the field type.
Fragment identifier. This field will rarely be available in a server-side setting, but it's not impossible to see it.
Hostname.
Password.
The path part of this URI.
Port, as string.
Port, as number. This field will contain HTP_PORT_NONE if there was no port information in the URI and HTP_PORT_INVALID if the port information was invalid (e.g., it's not a number or it falls out of range.
Query string.
Scheme, e.g., "http".
Username.