From 4b41fd0a3a42dbc662b63ee5ee277c475d626e01 Mon Sep 17 00:00:00 2001 From: zunda <47569369+zunda-pixel@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:30:17 +0900 Subject: [PATCH] remove #if for bytes function --- Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift b/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift index 6e7e391..a0c4b3f 100644 --- a/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift +++ b/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift @@ -113,14 +113,7 @@ extension URLSession { } return (location, response) } -} -#endif - -#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS) - -@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *) -extension URLSession { /// Returns a byte stream that conforms to AsyncSequence protocol. /// /// - Parameter request: The `HTTPRequest` for which to load data.