@@ -17,7 +17,7 @@ extension GhostURLSession {
1717
1818 open func upload( _ streamedRequest: URLRequest ) throws -> GhostTask {
1919 guard let ghostRequest = streamedRequest. ghostRequest else {
20- throw ghostError ( URLError ( . badURL) ) !
20+ throw ghostError ( URLError ( . badURL) )
2121 }
2222 return upload ( ghostRequest)
2323 }
@@ -28,7 +28,7 @@ extension GhostURLSession {
2828
2929 open func upload( _ streamedURLString: String , cachePolicy: GhostRequest . GhostCachePolicy ? = nil , timeoutInterval: TimeInterval ? = nil ) throws -> GhostTask {
3030 guard let url = URL ( string: streamedURLString) else {
31- throw ghostError ( URLError ( . badURL) ) !
31+ throw ghostError ( URLError ( . badURL) )
3232 }
3333 return upload ( url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
3434 }
@@ -47,7 +47,7 @@ extension GhostURLSession {
4747
4848 open func upload( _ request: URLRequest , data: Data ) throws -> GhostTask {
4949 guard let ghostRequest = request. ghostRequest else {
50- throw ghostError ( URLError ( . badURL) ) !
50+ throw ghostError ( URLError ( . badURL) )
5151 }
5252 return upload ( ghostRequest, data: data)
5353 }
@@ -58,7 +58,7 @@ extension GhostURLSession {
5858
5959 open func upload( _ urlString: String , data: Data , cachePolicy: GhostRequest . GhostCachePolicy ? = nil , timeoutInterval: TimeInterval ? = nil ) throws -> GhostTask {
6060 guard let url = URL ( string: urlString) else {
61- throw ghostError ( URLError ( . badURL) ) !
61+ throw ghostError ( URLError ( . badURL) )
6262 }
6363 return upload ( url, data: data, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
6464 }
@@ -77,7 +77,7 @@ extension GhostURLSession {
7777
7878 open func upload( _ request: URLRequest , fileURL: URL ) throws -> GhostTask {
7979 guard let ghostRequest = request. ghostRequest else {
80- throw ghostError ( URLError ( . badURL) ) !
80+ throw ghostError ( URLError ( . badURL) )
8181 }
8282 return upload ( ghostRequest, fileURL: fileURL)
8383 }
@@ -88,7 +88,7 @@ extension GhostURLSession {
8888
8989 open func upload( _ urlString: String , fileURL: URL , cachePolicy: GhostRequest . GhostCachePolicy ? = nil , timeoutInterval: TimeInterval ? = nil ) throws -> GhostTask {
9090 guard let url = URL ( string: urlString) else {
91- throw ghostError ( URLError ( . badURL) ) !
91+ throw ghostError ( URLError ( . badURL) )
9292 }
9393 return upload ( url, fileURL: fileURL, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
9494 }
0 commit comments