Skip to content

Commit

Permalink
Merge pull request GoesToEleven#20 from antonellamarengo/master
Browse files Browse the repository at this point in the history
fixing typos
  • Loading branch information
GoesToEleven authored Nov 13, 2018
2 parents 90070e5 + dee5721 commit ba99b1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 016_building-a-tcp-server-for-http/01/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func request(conn net.Conn) {

func respond(conn net.Conn) {

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

fmt.Fprint(conn, "HTTP/1.1 200 OK\r\n")
fmt.Fprintf(conn, "Content-Length: %d\r\n", len(body))
Expand Down
2 changes: 1 addition & 1 deletion 016_building-a-tcp-server-for-http/03_solution/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func request(conn net.Conn) {

func respond(conn net.Conn) {

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

fmt.Fprint(conn, "HTTP/1.1 200 OK\r\n")
fmt.Fprintf(conn, "Content-Length: %d\r\n", len(body))
Expand Down
2 changes: 1 addition & 1 deletion 016_building-a-tcp-server-for-http/05_solution/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func contact(conn net.Conn) {

func apply(conn net.Conn) {

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

0 comments on commit ba99b1a

Please sign in to comment.