Handle failed redirects for public image compression
Handles the following cases: 1. When the litepages server and the origin server both fail the response, it should not go into a infinite loop. 2. When the initial image itself is a litepages URL, no redirect should happen and no metrics recorded. TBR=tbansal@chromium.org Bug: 1059606 Change-Id: I477839ab09493445a085d646a4da4fb22c5981c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128944 Commit-Queue: rajendrant <rajendrant@chromium.org> Reviewed-by:Michael Crouse <mcrouse@chromium.org> Cr-Commit-Position: refs/heads/master@{#755960}
Showing
This diff is collapsed.
Please register or sign in to comment