| 228 | */ |
| 229 | |
| 230 | static void note_basic_auth_failure(request_rec *r) |
| 231 | { |
| 232 | apr_table_setn(r->err_headers_out, |
| 233 | (PROXYREQ_PROXY == r->proxyreq) ? "Proxy-Authenticate" |
| 234 | : "WWW-Authenticate", |
| 235 | apr_pstrcat(r->pool, "Basic realm=\"", ap_auth_name(r), |
| 236 | "\"", NULL)); |
| 237 | } |
| 238 | |
| 239 | static int hook_note_basic_auth_failure(request_rec *r, const char *auth_type) |
| 240 | { |
no test coverage detected