user-agent on android app
Posted: 28 Jan 2018 01:42
hello everybody. i wonder if it's possible to fully customize the user-agent. reading the documentation there's a method called setUserAgent() but it always appends LibVLC/3.0.0-git at the end. which is problematic to me beacuse server side expects an exact user agent.
for example if i do:
it send to http server:
any help would be greatly appreciated.
Thanks in advance
for example if i do:
Code: Select all
libvlc.setUserAgent("my_custom_user_agent","my_custom_user_agent");
Code: Select all
User-Agent: my_custom_user_agent LibVLC/3.0.0-git
Thanks in advance