You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Subscription API cound not recognize Client type.
Describe the solution you'd like
Set default User-Agent to ShadowsocksAndroid/$version (Example), instead of default Dalvik/x.x.x.
Describe alternatives you've considered
May add Add a custom User-Agent field, allow users specify it should be better?
Additional context
I feel this is an useful feature, I have a Subscription API, it uses User-Agent to determine the client type, e.g. ClashForAndroid, Surfboard, ShadowsocksWindows etc. It will return corresponding configuration file according UA type.
Since it does not use any parameters, this API URL can be general used on any supported Client, no need to remember which parameters is which Client, no need to change URL parameters.
Thanks.
The text was updated successfully, but these errors were encountered:
shadowsocks-windows implemented this in shadowsocks/shadowsocks-windows#2978 with an added option to allow the user to override the default User-Agent. I think clients identifying themselves correctly and clearly can be helpful for small scale online configuration administrators, which in my opinion, is the primary target audience of SIP008.
Please read contributing guidelines. Thanks.
Is your feature request related to a problem? Please describe.
Subscription API cound not recognize Client type.
Describe the solution you'd like
Set default User-Agent to
ShadowsocksAndroid/$version
(Example), instead of defaultDalvik/x.x.x
.Describe alternatives you've considered
May add Add a custom User-Agent field, allow users specify it should be better?
Additional context
I feel this is an useful feature, I have a Subscription API, it uses User-Agent to determine the client type, e.g. ClashForAndroid, Surfboard, ShadowsocksWindows etc. It will return corresponding configuration file according UA type.
Since it does not use any parameters, this API URL can be general used on any supported Client, no need to remember which parameters is which Client, no need to change URL parameters.
Thanks.
The text was updated successfully, but these errors were encountered: