Digest access authentication: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Recupero di 1 fonte/i e segnalazione di 0 link interrotto/i.) #IABot (v2.0.1
ValterVBot (discussione | contributi)
m tag source deprecati, replaced: <source lang= → <syntaxhighlight lang= (4), </source> → </syntaxhighlight> (4), typos fixed: e . → e.
Riga 105:
 
; Richiesta del client (senza autenticazione):
<sourcesyntaxhighlight lang="http">
GET /dir/index.html HTTP/1.0
Host: localhost
</syntaxhighlight>
</source>
 
; Risposta del server:
<sourcesyntaxhighlight lang="http">
HTTP/1.0 401 Unauthorized
Server: HTTPd/0.9
Riga 132:
</body>
</html>
</syntaxhighlight>
</source>
; Richiesta del client (username "Mufasa", password "Circle Of Life"):
<sourcesyntaxhighlight lang="http">
GET /dir/index.html HTTP/1.0
Host: localhost
Riga 146:
response="6629fae49393a05397450978507c4ef1",
opaque="5ccc069c403ebaf9f0171e9517f40e41"
</syntaxhighlight>
</source>
(followed by a blank line, as before).
 
; Risposta del server:
<sourcesyntaxhighlight lang="http">
HTTP/1.0 200 OK
Server: HTTPd/0.9
Riga 156:
Content-Type: text/html
Content-Length: 7984
</syntaxhighlight>
</source>
 
----