User-agent as normal query parameter
#1
I just have a question about user-agent. Is it possible to have user-agent specified as normal url parameter? Like this: http[s]://[host[:port]/directory/file?user-agent=b

The thing is that using it in this way: http[s]://[host[:port]/directory/file|user-agent=b

Is causing issues in other programs I am using and my video files are not working, because this is not a standard URL formatting.

Would be amazing, if both formatting is supported.

Thank you.
Reply
#2
no, that behavior comes from the cURL module that is compiled with Kodi

the cURL module is not written or modified by Kodi in the slightest so changing the behavior would require Kodi to keep a modified version which then needs to be maintained by someone

the effort required to make your 1 program work doesn't warrant a custom library that will be used by millions
Reply
#3
Field data such as user-agent is not part of the URI semantics for optional query string.  It is defined as part of the header data that is passed to negotiate the http semantics between client and server.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
User-agent as normal query parameter0