Added the "userAgent" format constant to the String+Constants extension in the library extension.
This commit is contained in:
@@ -31,6 +31,8 @@ extension String {
|
||||
static let authConsumer = "Discogs \(String.Parameter.key)=%@, \(String.Parameter.secret)=%@"
|
||||
/// A format for the user authentication header.
|
||||
static let authUser = "Discogs \(String.Parameter.token)=%@"
|
||||
/// A format for the user agent header.
|
||||
static let userAgent = "%@/%@ +%@"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user