Closed thangngoc89 closed 9 years ago
If the response code is 301
or 302
, response.headers.location
should be always there. A check for it to exist wouldn't be bad, anyway.
I guess that yes, all the unknown hosts should be handled like this. You can create a service called "Generic" or "Unknown" without hosts and then you "select" it at this line.
Giving you write access to this repo in a minute so that you can work freely :)
Giving you write access to this repo in a minute so that you can work freely :)
Thank you.
Closed. Will create a generic service
This is a dirty hack of mine. But it works. I wonder should we treat all the unrecognized url this way. And if there is no
response.headers.location
then throw error?