You should check HTTP status code to find out more or less what is going on.