Return an absolute URI from variables available in this request. Skip allowed hosts protection, so may return insecure URI.
(self)
| 336 | self.postmortem = None |
| 337 | |
| 338 | def _get_raw_insecure_uri(self): |
| 339 | """ |
| 340 | Return an absolute URI from variables available in this request. Skip |
| 341 | allowed hosts protection, so may return insecure URI. |
| 342 | """ |
| 343 | return "{scheme}://{host}{path}".format( |
| 344 | scheme=self.request.scheme, |
| 345 | host=self.request._get_raw_host(), |
| 346 | path=self.request.get_full_path(), |
| 347 | ) |
| 348 | |
| 349 | def get_traceback_data(self): |
| 350 | """Return a dictionary containing traceback information.""" |