Skip to content

Commit b5fab80

Browse files
authored
Update chopper_requester.dart
1 parent 7477c01 commit b5fab80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/algoliasearch-client-dart/packages/chopper_requester/lib/src/chopper_requester.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ChopperRequester implements Requester {
8181
/// Executes the [request] and returns the response as an [HttpResponse].
8282
Future<Response<Map<String, dynamic>>> execute(HttpRequest request) async {
8383
final Request chopperRequest = Request(
84-
request.method,
84+
request.method.toUpperCase(),
8585
requestUri(request),
8686
Uri(),
8787
body: request.body,

0 commit comments

Comments
 (0)