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
=== modified file 'breezy/transport/http/urllib.py'
--- breezy/transport/http/urllib.py 2022-07-16 13:35:08 +0000
+++ breezy/transport/http/urllib.py 2022-07-16 13:54:30 +0000
@@ -691,7 +691,7 @@
691 # None, # We don't send the body yet691 # None, # We don't send the body yet
692 request.data,692 request.data,
693 headers,693 headers,
694 encode_chunked=(headers.get('Transfer-encoding') == 'chunked'))694 encode_chunked=(headers.get('Transfer-Encoding') == 'chunked'))
695 if 'http' in debug.debug_flags:695 if 'http' in debug.debug_flags:
696 trace.mutter('> %s %s' % (method, url))696 trace.mutter('> %s %s' % (method, url))
697 hdrs = []697 hdrs = []

Subscribers

People subscribed via source and target branches