Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http: digest auth - improve compatibility with wget
  • Loading branch information
perexg committed Apr 8, 2016
1 parent ed53e70 commit e15d7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.c
Expand Up @@ -365,7 +365,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content,
char *opaque = http_get_opaque(realm, hc->hc_nonce);
htsbuf_append_str(&hdrs, "WWW-Authenticate: Digest realm=\"");
htsbuf_append_str(&hdrs, realm);
htsbuf_append_str(&hdrs, "\", qop=\"auth, auth-int\", nonce=\"");
htsbuf_append_str(&hdrs, "\", qop=\"auth\", nonce=\"");
htsbuf_append_str(&hdrs, hc->hc_nonce);
htsbuf_append_str(&hdrs, "\", opaque=\"");
htsbuf_append_str(&hdrs, opaque);
Expand Down

0 comments on commit e15d7fd

Please sign in to comment.