Connecting to HTTP server and receiving data with net.Dial and tls.Dial

This is a continuation from previous article How Does Web Work With Go Part 1. To talk with web server, you need to speak the same language. In this case it is protocol HTTP. Currently there are 3 version of this protocol in use: HTTP 1.1 - TCP text format HTTP 2 - TCP binary format HTTP 3 - UDP binary format In our case we will use HTTP 1.1 which is defined in RFC2616....

September 18, 2024 ยท 3 min