What steps will reproduce the problem?
1. Before fetching, call [fetcher setShouldDeferResponseBodyLogging:YES]
2. Fetch something that will result in an error (important, doesn't happen on
successful fetches).
3. Call [fetcher setShouldDeferResponseBodyLogging:NO] in the completion
handler.
What is the expected output? What do you see instead?
Expected one log. Got two.
Looks like there are code paths to writing a log that don't check
|shouldDeferResponseBodyLogging| first. Then when
|shouldDeferResponseBodyLogging| is set to NO, it logs again.
The second log says "redirected from..." It thinks there's a redirect because
it sets the |redirectedFromURL_| member variable the first time it logs
(there's no actual redirect).
Original issue reported on code.google.com by jfar...@google.com on 30 Jul 2013 at 12:35
Original issue reported on code.google.com by
jfar...@google.com
on 30 Jul 2013 at 12:35