Skip to content

Commit ba99b1a

Browse files
authored
Merge pull request #20 from antonellamarengo/master
fixing typos
2 parents 90070e5 + dee5721 commit ba99b1a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

016_building-a-tcp-server-for-http/01/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func request(conn net.Conn) {
5656

5757
func respond(conn net.Conn) {
5858

59-
body := `<!DOCTYPE html><html lang="en"><head><meta charet="UTF-8"><title></title></head><body><strong>Hello World</strong></body></html>`
59+
body := `<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title></title></head><body><strong>Hello World</strong></body></html>`
6060

6161
fmt.Fprint(conn, "HTTP/1.1 200 OK\r\n")
6262
fmt.Fprintf(conn, "Content-Length: %d\r\n", len(body))

016_building-a-tcp-server-for-http/03_solution/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func request(conn net.Conn) {
5858

5959
func respond(conn net.Conn) {
6060

61-
body := `<!DOCTYPE html><html lang="en"><head><meta charet="UTF-8"><title></title></head><body><strong>Hello World</strong></body></html>`
61+
body := `<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title></title></head><body><strong>Hello World</strong></body></html>`
6262

6363
fmt.Fprint(conn, "HTTP/1.1 200 OK\r\n")
6464
fmt.Fprintf(conn, "Content-Length: %d\r\n", len(body))

016_building-a-tcp-server-for-http/05_solution/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func contact(conn net.Conn) {
122122

123123
func apply(conn net.Conn) {
124124

125-
body := `<!DOCTYPE html><html lang="en"><head><meta charet="UTF-8"><title></title></head><body>
125+
body := `<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title></title></head><body>
126126
<strong>APPLY</strong><br>
127127
<a href="/">index</a><br>
128128
<a href="/about">about</a><br>

0 commit comments

Comments
 (0)