|
|
@ -412,12 +412,13 @@ class DynamiteClient { |
|
|
|
final Uint8List? body, |
|
|
|
final Uint8List? body, |
|
|
|
final Set<int>? validStatuses, |
|
|
|
final Set<int>? validStatuses, |
|
|
|
) async { |
|
|
|
) async { |
|
|
|
|
|
|
|
final queryParameters = { |
|
|
|
|
|
|
|
...baseURL.queryParametersAll, |
|
|
|
|
|
|
|
...path.queryParametersAll, |
|
|
|
|
|
|
|
}; |
|
|
|
final uri = baseURL.replace( |
|
|
|
final uri = baseURL.replace( |
|
|
|
path: '${baseURL.path}${path.path}', |
|
|
|
path: '${baseURL.path}${path.path}', |
|
|
|
queryParameters: { |
|
|
|
queryParameters: queryParameters.isNotEmpty ? queryParameters : null, |
|
|
|
...baseURL.queryParametersAll, |
|
|
|
|
|
|
|
...path.queryParametersAll, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
final request = await httpClient.openUrl(method, uri); |
|
|
|
final request = await httpClient.openUrl(method, uri); |
|
|
|