def make_pre_authed_request(self, env, method=None, path=None, body=None,<EOL>headers=None):
if self.default_storage_policy:<EOL><INDENT>sp = self.default_storage_policy<EOL>if headers:<EOL><INDENT>headers.update({'<STR_LIT>': sp})<EOL><DEDENT>else:<EOL><INDENT>headers = {'<STR_LIT>': sp}<EOL><DEDENT><DEDENT>subreq = swift.common.wsgi.make_pre_authed_request(<EOL>env, method=method, path=path, body=body, headers=headers,<EOL>agent=self.agent)<EOL>subreq.environ['<STR_LIT>'] = self.swift_source<EOL>return subreq<EOL>
Nearly the same as swift.common.wsgi.make_pre_authed_request
        except that this also always sets the 'swift.source' and user
        agent.

        Newer Swift code will support swift_source as a kwarg, but we
        do it this way so we don't have to have a newer Swift.

        Since we're doing this anyway, we may as well set the user
        agent too since we always do that.