mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add and use MimeType.formURLEncoded.
This commit is contained in:
@@ -24,7 +24,7 @@ extension URLRequest {
|
||||
|
||||
if credentialsType == .readerBasic {
|
||||
|
||||
setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
|
||||
setValue(MimeType.formURLEncoded, forHTTPHeaderField: "Content-Type")
|
||||
httpMethod = "POST"
|
||||
var postData = URLComponents()
|
||||
postData.queryItems = [
|
||||
|
||||
Reference in New Issue
Block a user