Tiny Tiny RSS: Community

Tiny Tiny RSS Android UserAgent

Hello,

could you change UserAgent for API calls? I noticed in my log, that it was logged like this:

"POST /api/ HTTP/1.1" "Dalvik/2.1.0 (Linux; U; Android 10; Pixel 3a Build/QQ2A.200405.005)" "-" 200 108 30ms

but now, after HttpClient change (i assume):
"POST /api/ HTTP/2.0" "okhttp/3.12.5" "-" 200 316 228ms

Would be very helpfull for me, because i used it for personal statistics.

Thank you

MiCHi

i don’t see anything wrong with this (it could show tt-rss app name and version code) but it seems that this needs to be set for every http request which is somewhat annoying.

this is now in trunk: https://git.tt-rss.org/fox/tt-rss-android/commit/f0429e57fa22ff3c2486cefebc33c5e30ffbaf3c

if you’re using f-droid version it’s going to be in the next automatic build tomorrow, for the play store version you’ll have to wait a bit for the next update.

Thanks a lot!!! You’re my hero. Buy a beer, it’s on me …