Merge lp:~jelmer/brz/fix-git-push-chunked into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/fix-git-push-chunked
Merge into: lp:brz
Diff against target: 12 lines (+1/-1)
1 file modified
breezy/transport/http/urllib.py (+1/-1)
To merge this branch: bzr merge lp:~jelmer/brz/fix-git-push-chunked
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+426995@code.launchpad.net

Commit message

Fix casing in header check for chunked encoding.

Description of the change

Fix casing in header check for chunked encoding.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'breezy/transport/http/urllib.py'
2--- breezy/transport/http/urllib.py 2022-07-16 13:35:08 +0000
3+++ breezy/transport/http/urllib.py 2022-07-16 13:54:30 +0000
4@@ -691,7 +691,7 @@
5 # None, # We don't send the body yet
6 request.data,
7 headers,
8- encode_chunked=(headers.get('Transfer-encoding') == 'chunked'))
9+ encode_chunked=(headers.get('Transfer-Encoding') == 'chunked'))
10 if 'http' in debug.debug_flags:
11 trace.mutter('> %s %s' % (method, url))
12 hdrs = []

Subscribers

People subscribed via source and target branches