You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does dio networking library on Flutter keep host parameter same (with original host name) after redirection to new URL happens?
It seems like host is always pointing at the original domain before redirection happened even though new server certificate (of the final destination) was supplied.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
This questions is related to pub https://pub.dev/packages/dio for flutter (version 5.7.0)
https://pub.dev/documentation/dio/latest/io/IOHttpClientAdapter/validateCertificate.html
Does dio networking library on Flutter keep
hostparameter same (with original host name) after redirection to new URL happens?It seems like host is always pointing at the original domain before redirection happened even though new server certificate (of the final destination) was supplied.
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions