Commit 7a47c7e
Ian Zink
Allow Content-Length to omitted when pushing on patch requests
Technically due to the way the specification is written today the moby/docker
cli push is nonconformant. Given that is one of the most common ways users
are pushing today, the specification should recognize that it allowed.
Further, requiring `Content-Length` to be set means that no client that
is conforming can use http chunked encoding, which limits the use of
CDNs like CloudFlare and other reverse proxies. See further discussion
at: containerd/containerd#7459
Signed-off-by: Ian Zink <ian@replicated.com>1 parent c3e48b9 commit 7a47c7e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
0 commit comments