Kodi Community Forum

Full Version: HTTP headers ignored
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I am trying to set header information in a url using that information: http://kodi.wiki/view/HTTP . I looked up on debug log information and there is no message about http headers.

Here is an example about the url that I am trying to use:
Code:
http://s15.vimple.ru:8081/vv68/730508.mp4?v=3296a293-7b29-41b5-803a-204e5e0ef691&t=635941098541617500&d=6116&sig=ef145d9f558ee3e57dcde6b668c2c769|DNT=1&connection=keep-alive&Accept-Language=en-US,en;q=0.5&accept-encoding=gzip,deflate&Cookie=UniversalUserID=dfcc0ee95aca4db5b416626f4d0dcc88&Referer=http://player.vimple.ru/iframe/3296a2937b2941b5803a204e5e0ef691&Accept=video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5&user-agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

I tested this url on pc it works. I spent a week looking the reason.
EDIT: How do you pass cookies to kodi?
Any help would be appreciated. Thank you.
It seems to be that when headers are set it does not appear on debug information, however it works fine, finally I figure out that it was a slow connection problem.

Thank you.
If you go to Settings -> System -> Logging, and "Enable component-specific logging" you can turn on verbose logging for the libcURL library, which will give you tonnes of extra information about every URL requested, including the headers (in and out).
Wow thank you I only enabled debug information.

Have a good day Smile.