-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
CRMClient.swift file, line #144, after Xcode translated the code to latest swift version, has an issue.
-
"WWW-Authenticate" has to be replaced with "Www-Authenticate".
-
also had to access the response headers dictionary in a different way, this is what has worked for me:
let httpResponse = response as! HTTPURLResponse; let authenticationHeaderDict = httpResponse.allHeaderFields as Dictionary let authenticationHeaderValue = authenticationHeaderDict[AnyHashable("Www-Authenticate")] var authenticationHeader = authenticationHeaderValue as! NSString
Metadata
Metadata
Assignees
Labels
No labels