Home | History | Annotate | Download | only in microhttpd

Lines Matching defs:header

40  * Beginning string for any valid Digest authentication header.
198 * Lookup subvalue off of the HTTP Authorization header.
207 * @param data pointer to the Authorization header
353 * Get the username from the authorization header sent by the client
365 const char *header;
367 if (NULL == (header = MHD_lookup_connection_value (connection,
371 if (0 != strncmp (header, _BASE, strlen (_BASE)))
373 header += strlen (_BASE);
376 header,
453 if (0 != strcmp (key, pos->header))
470 * of the authentication header match the arguments we
549 * Authenticates the authorization header sent by the client
569 const char *header;
582 size_t left; /* number of characters left in 'header' for 'uri' */
585 header = MHD_lookup_connection_value (connection,
588 if (NULL == header)
590 if (0 != strncmp(header, _BASE, strlen(_BASE)))
592 header += strlen (_BASE);
593 left = strlen (header);
600 header, "username");
612 header, "realm");
621 header, "nonce")))
632 header value. */
643 "Failed to allocate memory for auth header processing\n");
649 header, "uri"))
723 header, "cnonce")) ||
724 (0 == lookup_sub_value (qop, sizeof (qop), header, "qop")) ||
727 (0 == lookup_sub_value (nc, sizeof (nc), header, "nc")) ||
728 (0 == lookup_sub_value (response, sizeof (response), header, "response")) )
793 * header and that the caller should not do this
795 * 'stale=true' to the authentication header
826 /* Building the authentication header */
837 char *header;
839 header = malloc(hlen + 1);
840 if (NULL == header)
844 "Failed to allocate memory for auth response header\n");
849 MHD_snprintf_(header,
860 header);
861 free(header);