Reputation:
I am getting a problem while fetching data. Its giving CFHTTPMessageGetResponseStatusCode(response) as 302
. Can any one help me to solve this
problem?
Upvotes: 1
Views: 214
Reputation: 92752
Straight from the horse's mouth (RFC2616, sec.10.3.3):
302 Found
The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests.
In other words, it's a redirection: "what you're looking for is over there right now." Check the Location: response header - that's your new URL you need to retrieve.
Upvotes: 3