sajad torkamani

Once a TCP connection has been established between a client and server process, the server can send a HTTP response in the following format:

[version] [status] [reason]


Example response:

HTTP/1.1 200 OK
Age: 390377
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Content-Length: 1256

<!doctype html>
// blah blah blah


Tagged: HTTP

Leave a comment

Your email address will not be published. Required fields are marked *