Skip to content

Commit

Permalink
no need for a Connection header
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 12, 2015
1 parent a985ac7 commit 1d35726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/microhttpd.pl
Expand Up @@ -18,8 +18,8 @@

# Write a minimal HTTP response
# (the "Hello World!" message has been optimized away!)
$stream->write("HTTP/1.1 200 OK\x0d\x0aContent-Length: 0\x0d\x0a"
. "Connection: keep-alive\x0d\x0a\x0d\x0a");
$stream->write(
"HTTP/1.1 200 OK\x0d\x0aContent-Length: 0\x0d\x0a\x0d\x0a");
}
}
);
Expand Down
1 change: 0 additions & 1 deletion lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -367,7 +367,6 @@ L<Mojolicious::Command::get>.
User-Agent: Mojolicious (Perl)
Connection: keep-alive
Accept-Encoding: gzip
Content-Length: 0
Host: localhost:59472

HTTP/1.1 200 OK
Expand Down

0 comments on commit 1d35726

Please sign in to comment.