HTTP response format
11 March 2022 (Updated 11 March 2022)
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]
[headers]
[body]
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>
<html>
<head>
// blah blah blah
Sources
Tagged:
HTTP
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment