mercurial/httppeer.py
changeset 37498 aacfca6f9767
parent 37483 61e405fb6372
child 37543 01361be9e2dc
equal deleted inserted replaced
37497:1541e1a8e87d 37498:aacfca6f9767
   285             headers[r'Content-Type'] = r'application/mercurial-0.1'
   285             headers[r'Content-Type'] = r'application/mercurial-0.1'
   286 
   286 
   287         # Tell the server we accept application/mercurial-0.2 and multiple
   287         # Tell the server we accept application/mercurial-0.2 and multiple
   288         # compression formats if the server is capable of emitting those
   288         # compression formats if the server is capable of emitting those
   289         # payloads.
   289         # payloads.
   290         protoparams = set()
   290         protoparams = {'partial-pull'}
   291 
   291 
   292         mediatypes = set()
   292         mediatypes = set()
   293         if self._caps is not None:
   293         if self._caps is not None:
   294             mt = self.capable('httpmediatype')
   294             mt = self.capable('httpmediatype')
   295             if mt:
   295             if mt: