def prepare(self):
p = PreparedRequest()<EOL>p.prepare(<EOL>method=self.method,<EOL>url=self.url,<EOL>headers=self.headers,<EOL>files=self.files,<EOL>data=self.data,<EOL>json=self.json,<EOL>params=self.params,<EOL>auth=self.auth,<EOL>cookies=self.cookies,<EOL>hooks=self.hooks,<EOL>)<EOL>return p<EOL>
Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.