Patchwork D2606: largefiles: headers and values need to be sysstrs, add r prefixes

login
register
mail settings
Submitter phabricator
Date March 3, 2018, 8:55 p.m.
Message ID <52db8e0ade0e508e927575d1edcc1393@localhost.localdomain>
Download mbox | patch
Permalink /patch/28843/
State Not Applicable
Headers show

Comments

phabricator - March 3, 2018, 8:55 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5c4c9eb1feb6: largefiles: headers and values need to be sysstrs, add r prefixes (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2606?vs=6477&id=6479

REVISION DETAIL
  https://phab.mercurial-scm.org/D2606

AFFECTED FILES
  hgext/largefiles/proto.py

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/hgext/largefiles/proto.py b/hgext/largefiles/proto.py
--- a/hgext/largefiles/proto.py
+++ b/hgext/largefiles/proto.py
@@ -97,7 +97,7 @@ 
             # it ...
             if issubclass(self.__class__, httppeer.httppeer):
                 res = self._call('putlfile', data=fd, sha=sha,
-                    headers={'content-type':'application/mercurial-0.1'})
+                    headers={r'content-type': r'application/mercurial-0.1'})
                 try:
                     d, output = res.split('\n', 1)
                     for l in output.splitlines(True):