Android Question How to avoid ALLOW_ALL_HOSTNAME_VERIFIER on HttpJob ?

abilio486software

Active Member
Licensed User
Hi,

It is possible to avoid ALLOW_ALL_HOSTNAME_VERIFIER on HttpJob ?

Thanks
 

Attachments

  • APP_alert.PNG
    APP_alert.PNG
    92.4 KB · Views: 240

OliverA

Expert
Licensed User
Longtime User
It is possible to avoid ALLOW_ALL_HOSTNAME_VERIFIER on HttpJob ?
By defaut, HttpJob does not have this option enabled. Neither did the old Apache Http client that had that particular option. So as long as you do not explicitly enable ACCEPT_ALL in the latest HttpJob as shown by @Erel above, you are good to go.
 
Upvote 0
Top