#include "htp.h"
#include "htp_base64.h"
Functions | |
int | htp_parse_protocol (bstr *protocol) |
int | htp_parse_status (bstr *status) |
int | htp_parse_authorization_digest (htp_connp_t *connp, htp_header_t *auth_header) |
int | htp_parse_authorization_basic (htp_connp_t *connp, htp_header_t *auth_header) |
int | htp_parse_authorization (htp_connp_t *connp) |
int htp_parse_authorization | ( | htp_connp_t * | connp | ) |
Parses Authorization request header.
connp |
int htp_parse_authorization_basic | ( | htp_connp_t * | connp, | |
htp_header_t * | auth_header | |||
) |
Parses Basic Authorization request header.
connp | ||
auth_header |
int htp_parse_authorization_digest | ( | htp_connp_t * | connp, | |
htp_header_t * | auth_header | |||
) |
Parses Digest Authorization request header.
connp | ||
auth_header |
int htp_parse_protocol | ( | bstr * | protocol | ) |
Determines protocol number from a textual representation (i.e., "HTTP/1.1"). This function will only understand a properly formatted protocol information. It does not try to be flexible.
protocol |
int htp_parse_status | ( | bstr * | status | ) |
Determines the numerical value of a response status given as a string.
status |