Basic access authentication: Difference between revisions

Content deleted Content added
Lee J Haywood (talk | contribs)
m Corrected final server response in example
Lee J Haywood (talk | contribs)
m Added charset to example server error
Line 36:
WWW-Authenticate: Basic realm="SokEvo"
Content-Type: text/html
Content-Length: 214311
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
<TITLE>Error</TITLE></HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<BODY><H1>401 Unauthorised</H1></BODY></HTML>
</HEAD>
<BODY><H1>401 Unauthorised.</H1></BODY></HTML>
</HTML>
</pre>