     @discardableResult
     public func post(_ request: URLRequest, from data: Data, downloadTo fileUrl: URL? = nil, uploadProgress: UploadProgress? = nil, downloadProgress: DownloadProgress? = nil, completion: @escaping ResultCompletion) -> URLSessionTask {
         var postRequest = request
-        postRequest.httpMethod = HTTPMethod.POST.rawValue
+        postRequest.httpMethod = HTTPMethod.post.rawValue
 
         return sendUploadTask(request: postRequest, from: data, downloadTo: fileUrl, uploadProgress: uploadProgress, downloadProgress: downloadProgress, completion: completion)
     }

    @discardableResult
    public func get(_ request: URLRequest, downloadTo fileUrl: URL? = nil, downloadProgress: DownloadProgress? = nil, completion: @escaping ResultCompletion) -> URLSessionTask {
        var getRequest = request
        getRequest.httpMethod = HTTPMethod.GET.rawValue

        return sendDownloadTask(request: getRequest, downloadTo: fileUrl, downloadProgress: downloadProgress, completion: completion)
    }

    @discardableResult
    public func head(_ request: URLRequest, completion: @escaping ResultCompletion) -> URLSessionTask {
        var headRequest = request
        headRequest.httpMethod = HTTPMethod.head.rawValue

        return sendDownloadTask(request: headRequest, downloadTo: nil, downloadProgress: nil, completion: completion)
    }
