问题
Im not sure how i should deal with a HTTP_STATUS of 302 in my response to an API request?
Im trying to write a small Node.js script and i have a feeling this is to do with the HTTPS upgrade of the request i send?
Any help would be great
回答1:
It's nothing (specifically) to do with HTTPS, it just a temporary redirect.
Read this article on Wikipedia.
来源:https://stackoverflow.com/questions/12420686/how-to-correctly-deal-with-302-status-code