Cheatsheet: Difference between revisions

Content added Content deleted
Line 413: Line 413:
Set-cookie:
Set-cookie:
Location:
Location:
Host: The host Header tells the webserver which virtual host to use if same virtual host is using several aliases
Host:
Accept
Accept:
User-Agent
User-Agent:
content-type
content-type:
content-length
content-length:
date
date:
expires
expires:
Authorization: Basic access authentication is used to provide a user name and password when making a request.
Credentials are the base64 encoding of id and password joined by a single colon
Base64-encoding of 'Aladdin:OpenSesame' is 'QWxhZGRpbjpPcGVuU2VzYW1l'
Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
https://Aladdin:OpenSesame@www.example.com/index.html ==> This will not ask for the credentials; deprecated now


Referrer:


= FTP =
= FTP =