summaryrefslogtreecommitdiffstats
path: root/styleguide/c++/chromium-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'styleguide/c++/chromium-cpp')
-rwxr-xr-xstyleguide/c++/chromium-cpp/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/styleguide/c++/chromium-cpp/main.py b/styleguide/c++/chromium-cpp/main.py
index 9017296..aef55ab 100755
--- a/styleguide/c++/chromium-cpp/main.py
+++ b/styleguide/c++/chromium-cpp/main.py
@@ -33,6 +33,7 @@ class GitilesMirrorHandler(webapp2.RequestHandler):
if not contents or self.request.get('bust'):
result = urlfetch.fetch(url)
if result.status_code != 200:
+ self.response.set_status(result.status_code)
self.response.write('http error %d' % result.status_code)
return
contents = base64.b64decode(result.content)