Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9) +--- Thread: Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" (/showthread.php?tid=253090) |
Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" - jcea - 2015-12-22 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 :-( RE: Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" - jcea - 2015-12-22 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/f42c66f130805765b0c30d947980d5f2af847cde/xbmc/filesystem/DAVDirectory.cpp#L118 RE: Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" - gibsonlp - 2016-01-29 +1... RE: Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" - takoi - 2016-02-01 (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/f42c66f130805765b0c30d947980d5f2af847cde/xbmc/filesystem/DAVDirectory.cpp#L118Please submit PR on github for review. RE: Kodi should do HTTP/Webdav request with "accept-encoding: gzip, deflate" - jcea - 2016-02-29 Done: https://github.com/xbmc/xbmc/pull/9237 |