From 26ea72d1fe25d2c7fdc1454f3e16c04cb6997a4f Mon Sep 17 00:00:00 2001 From: Andrea Sacerdoti Date: Mon, 20 Apr 2020 13:06:20 +0200 Subject: [PATCH] Add port assignment --- Sources/Requests/Request.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Requests/Request.swift b/Sources/Requests/Request.swift index 77c8de4..729e2d6 100644 --- a/Sources/Requests/Request.swift +++ b/Sources/Requests/Request.swift @@ -207,6 +207,7 @@ open class Request: AbstractRequest { var components = URLComponents() components.scheme = configuration.requestProtocol components.host = configuration.baseURL + components.port = configuration.port components.path = resourcePath if let parameters = parameters {