@@ -817,8 +817,6 @@ extension DataRequest {
817
817
/// - queue: The queue on which the completion handler is dispatched. `.main` by default.
818
818
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
819
819
/// `completionHandler`. `PassthroughPreprocessor()` by default.
820
- /// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
821
- /// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
822
820
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
823
821
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
824
822
/// - options: `JSONSerialization.ReadingOptions` used when parsing the response. `.allowFragments`
@@ -850,8 +848,6 @@ extension DownloadRequest {
850
848
/// - queue: The queue on which the completion handler is dispatched. `.main` by default.
851
849
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
852
850
/// `completionHandler`. `PassthroughPreprocessor()` by default.
853
- /// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
854
- /// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
855
851
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
856
852
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
857
853
/// - options: `JSONSerialization.ReadingOptions` used when parsing the response. `.allowFragments`
@@ -1009,8 +1005,6 @@ extension DataRequest {
1009
1005
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
1010
1006
/// `completionHandler`. `PassthroughPreprocessor()` by default.
1011
1007
/// - decoder: `DataDecoder` to use to decode the response. `JSONDecoder()` by default.
1012
- /// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
1013
- /// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
1014
1008
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
1015
1009
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
1016
1010
/// - completionHandler: A closure to be executed once the request has finished.
@@ -1042,8 +1036,6 @@ extension DownloadRequest {
1042
1036
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
1043
1037
/// `completionHandler`. `PassthroughPreprocessor()` by default.
1044
1038
/// - decoder: `DataDecoder` to use to decode the response. `JSONDecoder()` by default.
1045
- /// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
1046
- /// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
1047
1039
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
1048
1040
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
1049
1041
/// - completionHandler: A closure to be executed once the request has finished.
0 commit comments