hardful9856

joined 10 months ago
[–] hardful9856@programming.dev 2 points 2 months ago* (last edited 2 months ago)
[–] hardful9856@programming.dev 2 points 2 months ago

Thanks for the detailed explanation and suggestion!

[–] hardful9856@programming.dev 1 points 2 months ago

Thanks for the suggestion but though it might not be difficult, it is still inconvinient

[–] hardful9856@programming.dev 1 points 2 months ago

Yes that would be an alternative. But I’m looking for a more user friendly client that could achieve the goal.

Not sending a user agent at all is realistically speaking not feasible.

Actually it should be feasible

[–] hardful9856@programming.dev 1 points 2 months ago

I'm sorry if my question is inappropriate

[–] hardful9856@programming.dev 2 points 2 months ago

Yes that would be an alternative. But I’m looking for a more user friendly client that could achieve the goal.

[–] hardful9856@programming.dev 2 points 2 months ago

I just checked, they do send user agent to lemmy server.

For example

    final appVersion = getCurrentVersion(removeInternalBuildNumber: true, trimV: true);
    return {
      'User-Agent': 'Thunder/$appVersion',
      'Content-Type': 'application/json',
      'Accept': 'application/json',
      if (account.jwt != null) 'Authorization': 'Bearer ${account.jwt}',
view more: ‹ prev next ›