diff --git a/dio/lib/src/options.dart b/dio/lib/src/options.dart index 3f060188b..07ce39b37 100644 --- a/dio/lib/src/options.dart +++ b/dio/lib/src/options.dart @@ -329,8 +329,7 @@ class Options { baseUrl: baseOpt.baseUrl, path: path, data: data, - preserveHeaderCase: - preserveHeaderCase ?? baseOpt.preserveHeaderCase, + preserveHeaderCase: preserveHeaderCase ?? baseOpt.preserveHeaderCase, sourceStackTrace: sourceStackTrace ?? StackTrace.current, connectTimeout: baseOpt.connectTimeout, sendTimeout: sendTimeout ?? baseOpt.sendTimeout,