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 |
m tag source deprecati, replaced: <source lang= → <syntaxhighlight lang= (4), </source> → </syntaxhighlight> (4), typos fixed: e . → e. |
||
Riga 105:
; Richiesta del client (senza autenticazione):
<
GET /dir/index.html HTTP/1.0
Host: localhost
</syntaxhighlight>
; Risposta del server:
<
HTTP/1.0 401 Unauthorized
Server: HTTPd/0.9
Riga 132:
</body>
</html>
</syntaxhighlight>
; Richiesta del client (username "Mufasa", password "Circle Of Life"):
<
GET /dir/index.html HTTP/1.0
Host: localhost
Riga 146:
response="6629fae49393a05397450978507c4ef1",
opaque="5ccc069c403ebaf9f0171e9517f40e41"
</syntaxhighlight>
(followed by a blank line, as before).
; Risposta del server:
<
HTTP/1.0 200 OK
Server: HTTPd/0.9
Riga 156:
Content-Type: text/html
Content-Length: 7984
</syntaxhighlight>
----
|