Make the redirect check more precise

HTTP 304 (Not Modified) and 305 (Use Proxy) are not redirects so
they should probably not get the "redirects not allowed" error
message.

Not sure about 300 (Multiple Choices), but I left it out as well.