Skip to content

Commit

Permalink
Explain why Connection: keep-alive is sent despite it being the defau…
Browse files Browse the repository at this point in the history
…lt (mdn#34642)
  • Loading branch information
Josh-Cena authored and evelinabe committed Jul 5, 2024
1 parent f92cf1e commit 21c3e04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/en-us/web/http/headers/connection/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ All [hop-by-hop headers](/en-US/docs/Web/HTTP/Compression#hop-by-hop_compression
header, so that the first proxy knows it has to consume them and not forward them
further.

The default value of `Connection` changed between HTTP/1.0 and HTTP/1.1. Therefore, to ensure backwards compatibility, browsers often send `Connection: keep-alive` explicitly despite that being the default in HTTP/1.1.

<table class="properties">
<tbody>
<tr>
Expand Down

0 comments on commit 21c3e04

Please sign in to comment.