equal
deleted
inserted
replaced
539 req.set_header('Cache-Control', 'no-cache') |
539 req.set_header('Cache-Control', 'no-cache') |
540 req.remove_header('Etag') |
540 req.remove_header('Etag') |
541 req.reset_message() |
541 req.reset_message() |
542 req.reset_headers() |
542 req.reset_headers() |
543 if req.ajax_request: |
543 if req.ajax_request: |
544 return ajax_error_handler(req, ex) |
544 return self.ajax_error_handler(req, ex) |
545 try: |
545 try: |
546 req.data['ex'] = ex |
546 req.data['ex'] = ex |
547 if tb: |
547 if tb: |
548 req.data['excinfo'] = excinfo |
548 req.data['excinfo'] = excinfo |
549 req.form['vid'] = 'error' |
549 req.form['vid'] = 'error' |