Sir, I don’t have much technical knowledge about the errors and this time I am getting an error code 307 every time using a page URL and I am then automatically redirected to some other page which I even didn’t search for. So , can you please tell me what I should do to get that page only which I am searching for?
Answered By
LyanaHay
0 points
N/A
#290450
HTTP Error Code 307 Redirection Error While Requesting An Url
Basically (304) is not an error it’s a redirection command or term which makes us look our code again. When a client gets error code 304, then it becomes his responsibility because the problem is in messenger, not the proxy. You should just make the catch exception still (the same time the request is made) then try to identify what you are getting in the exception and solve it.
Or the second reason can be that if you have written If-modified-since, then also the server may return error code 304 not modified. In this case, you just have to look at the exception thrown when you try to use If-modified-since.