Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate"
#1
Currently Kodi seems to not request compression in the HTTP/WEBDAV requests. This could be motivated because it is perceived that most traffic is LAN based. Could be considered that current machines can compress/decompress faster than they can pump data in the LAN, maybe even a Raspberry PI.

In my personal situation, I use remote webdav servers. PROPFIND Reply is huge and very verbose, compression ratio would be very high and latency and bandwidth reduced.

Change seems trivial, but I am not a C++ guy :-(
Reply
#2
Just implementing this feature for PROPFIND requests would be great. If CURL already support it, this would require only a single line addition to add the "accept-encoding" header. Just there: https://github.com/xbmc/xbmc/blob/f42c66...y.cpp#L118
Reply
#3
+1...
Reply
#4
(2015-12-22, 05:23)jcea Wrote: Change seems trivial
(2015-12-22, 05:40)jcea Wrote: If CURL already support it, this would require only a single line addition to add the "accept-encoding" header. Just there: https://github.com/xbmc/xbmc/blob/f42c66...y.cpp#L118
Please submit PR on github for review.
Reply
#5
Done: https://github.com/xbmc/xbmc/pull/9237
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate"0