Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Conversation

@mojtabacazi
Copy link

Goals ⚽

We should allow usage of security policy if URL construction is being managed outside of AFNetworking and not using baseURL variable.

Implementation Details 🚧

Check usage of https only if baseURL is set. Otherwise assume it's user responsibility to use the right protocol.

Testing Details 🔍

Tests are updated to validate new changes.

@jshier
Copy link
Member

jshier commented May 25, 2020

Thanks for the PR!

I'm inclined to lift this restriction, but this PR doesn't go far enough in updating the logic. Please outline the conditions in which we should produce an error when applying a security policy and update the tests accordingly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants