-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
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
Asynchronously calculate User-Agent #623
Conversation
CocoaPods compiles with warnings as errors, just use the |
c3ab108
to
a60c329
Compare
Thanks, fixed by migrating all the existing tests and examples to the new
API and adding a new test for the deprecated API which uses the #pragma to
disable the warning.
…On Tue, Jan 23, 2024 at 8:23 AM Thomas Van Lenten ***@***.***> wrote:
CocoaPods compiles with warnings as errors, just use the #pragmas to turn
off the deprecated warnings around the tests calling the now deprecated
apis.
|
a60c329
to
693aaa5
Compare
693aaa5
to
b8637aa
Compare
b8637aa
to
f4777d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor nit/question about indents, and then I think we're good to go.
f4777d8
to
bcb0439
Compare
Sorry, I managed to accidentally close this by force-pushing the wrong commit to my branch. |
Thank you! |
Alternative to #616 which ensures the User-Agent is always calculated asynchronously by moving the
NSMutableURLRequest
creation onto a new background serial queue.Should also fix #615.
swift test
passes, trying to run more global tests now.