Skip to content

Commit

Permalink
fix: missing HTTP method in cronet client
Browse files Browse the repository at this point in the history
  • Loading branch information
kientux committed Oct 25, 2023
1 parent 7240d0a commit c7592f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/cronet_http/lib/src/cronet_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ class CronetClient extends BaseClient {
builder.setUploadDataProvider(
jb.UploadDataProviders.create2(body.toJByteBuffer()), _executor);
}
builder.setHttpMethod(request.method.toJString());
builder.build().start();
return responseCompleter.future;
}
Expand Down

0 comments on commit c7592f0

Please sign in to comment.