© Jan Newmarch and Ronald Petty 2022
J. Newmarch, R. PettyNetwork Programming with Go Languagehttps://doi.org/10.1007/978-1-4842-8095-9_8

8. HTTP

Jan Newmarch1   and Ronald Petty2
(1)
Oakleigh, VIC, Australia
(2)
San Francisco, CA, USA
 

The World Wide Web is a major distributed system, with millions of users. A site may become a web host by running an HTTP server. While web clients are typically users with a browser, there are many other “user agents” such as web spiders, web application clients, and so on.

The Web is built on top of the HTTP (Hypertext Transfer Protocol), which is typically layered on top of a socket (e.g., TCP). HTTP has been through four publicly available versions. Version 1.1 (the third version) is the most recognized (by developers). ...

Get Network Programming with Go Language: Essential Skills for Programming, Using and Securing Networks with Open Source Google Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.