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