Fix FTP over HTTP authentication

Send WWW-Authenticate instead of Proxy-Authenticate

Conflicts:
	src/version.h
This commit is contained in:
z3APA3A 2015-09-01 15:24:03 +03:00
parent e935d1f6d1
commit de8de757f6

View File

@ -119,7 +119,7 @@ char * proxy_stringtable[] = {
"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\r\n",
/* 16*/ "HTTP/1.0 401 Authentication Required\r\n"
"Proxy-Authenticate: basic realm=\"FTP Server\"\r\n"
"WWW-Authenticate: basic realm=\"FTP Server\"\r\n"
"Proxy-Connection: close\r\n"
"Content-type: text/html; charset=us-ascii\r\n"
"\r\n"