January 2019
Beginner
132 pages
3h 14m
English
In this chapter, we covered the basic formats of HTTP requests and responses. We also saw how HTTP requests are made in Go, as well as how the http.Response struct relates to real HTTP responses. Finally, we created a small program that sent an HTTP response to http://www.example.com/index.html and processed the HTTP response. For the full HTTP specification, I encourage you to visit https://www.w3.org/Protocols/.
In Chapter 3, Web Scraping Etiquette, we look at the best practices for being a good citizen of the web.
Read now
Unlock full access