Skip to content

Commit

Permalink
fix wallabag client headers
Browse files Browse the repository at this point in the history
  • Loading branch information
casimir committed Jun 29, 2024
1 parent fc2357a commit 4c1f448
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/wallabag/wallabag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class WallabagNativeClient extends WallabagClient {
Future<http.StreamedResponse> send(http.BaseRequest request) async {
_credsManager.load(); // handle desync from external extensions
request.headers.addAll({
'Content-Type': 'application/json',
if (userAgent != null) 'User-Agent': userAgent!,
});
if (!request.url.path.endsWith(tokenEndpointPath)) {
Expand Down

0 comments on commit 4c1f448

Please sign in to comment.