Mercurial > mplayer.hg
diff stream/http.h @ 32547:6a629e6fdb09
Add Proxy-Authorization header to authenticate on proxies
| author | cboesch |
|---|---|
| date | Thu, 18 Nov 2010 20:20:39 +0000 |
| parents | ce0122361a39 |
| children | be61988fb5c4 |
line wrap: on
line diff
--- a/stream/http.h Thu Nov 18 20:18:44 2010 +0000 +++ b/stream/http.h Thu Nov 18 20:20:39 2010 +0000 @@ -63,6 +63,7 @@ void http_set_method( HTTP_header_t *http_hdr, const char *method ); void http_set_uri( HTTP_header_t *http_hdr, const char *uri ); int http_add_basic_authentication( HTTP_header_t *http_hdr, const char *username, const char *password ); +int http_add_basic_proxy_authentication( HTTP_header_t *http_hdr, const char *username, const char *password ); void http_debug_hdr( HTTP_header_t *http_hdr );
