We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See AppPETs/PrivacyService@fdb53ac.
I tried setting:
request.allHTTPHeaderFields = [:]
URLRequest.allHTTPHeaderFields
request.setValue(nil, forHTTPHeaderField: "User-Agent")
URLRequest.setValue(_:forHTTPHeaderField:)
sessionConfiguration.httpAdditionalHeaders = nil
sessionConfiguration.httpAdditionalHeaders = [:]
URLSessionConfiguration. httpAdditionalHeaders
These methods could be used to override default HTTP headers, but none of them prevents the header from being sent.
The Shalon implementation gives way more control over which HTTP headers are sent.
This issue was migrated from https://gitlab.prae.me/apppets/PrivacyKit/issues/2.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See AppPETs/PrivacyService@fdb53ac.
I tried setting:
request.allHTTPHeaderFields = [:]
, seeURLRequest.allHTTPHeaderFields
request.setValue(nil, forHTTPHeaderField: "User-Agent")
, seeURLRequest.setValue(_:forHTTPHeaderField:)
sessionConfiguration.httpAdditionalHeaders = nil
andsessionConfiguration.httpAdditionalHeaders = [:]
, seeURLSessionConfiguration. httpAdditionalHeaders
These methods could be used to override default HTTP headers, but none of them prevents the header from being sent.
The Shalon implementation gives way more control over which HTTP headers are sent.
This issue was migrated from https://gitlab.prae.me/apppets/PrivacyKit/issues/2.
The text was updated successfully, but these errors were encountered: