@property
    def headers(self):
        def _headers():
            hdrs = {}
            for k, v in self._environ.iteritems():
                if k.startswith('HTTP_'):
                    # convert 'HTTP_ACCEPT_ENCODING' to 'ACCEPT-ENCODING'
                    hdrs[unicode(k[5:].replace('_', '-').upper())] = v.decode('utf-8')
            return hdrs
        return self._fromcache('CACHED_HTTP_HEADERS', _headers)
Performs the work of a DataSourceThread.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Request.headers--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/DataSourceThread.PerformWork