##// END OF EJS Templates
svn: Ignore the content length header from response, fixes #4112...
svn: Ignore the content length header from response, fixes #4112 In case of compressed responses from apache(mod_dav_svn) we can not use the Content-Length header in our own response. The content is automatically decompressed by the requests library and therefore the content length differs. This results in errors when doing e.g. a svn checkout: "svn: E120106: ra_serf: The server sent a truncated HTTP response body."

File last commit:

r1:854a839a default
r473:7e153d56 default
Show More
patch-kombu-msgpack.diff
12 lines | 629 B | text/x-diff | DiffLexer
/ pkgs / patch-kombu-msgpack.diff
diff -rup kombu-1.5.1-orig/kombu/serialization.py kombu-1.5.1/kombu/serialization.py
--- kombu-1.5.1-orig/kombu/serialization.py 2016-03-09 15:11:34.000000000 +0100
+++ kombu-1.5.1/kombu/serialization.py 2016-03-09 15:19:20.000000000 +0100
@@ -318,7 +318,7 @@ def register_msgpack():
"""See http://msgpack.sourceforge.net/"""
try:
import msgpack
- registry.register('msgpack', msgpack.packs, msgpack.unpacks,
+ registry.register('msgpack', msgpack.packb, msgpack.unpackb,
content_type='application/x-msgpack',
content_encoding='binary')
except ImportError: