Traceback (most recent call last): File "/data/www/comlink/app.py", line 2227, in get if re.search(mobile_list, self.request.headers["User-Agent"]) and not is_mobile: File "/usr/lib64/python2.7/site-packages/tornado/httputil.py", line 215, in __getitem__ return self._dict[_normalized_headers[name]] KeyError: 'User-Agent'