Status codes 304 and 305 are not redirects.

In LSHTTPStubURLProtocol, it will treat HTTP status code from 300 to 399 as URL redirection; however, status code 304 (not modified) and 305 (use proxy) are not redirects. refer: http://en.wikipedia.org/wiki/URL_redirection.