Lines Matching refs:defect
193 defect = errors.MultipartInvariantViolationDefect()
194 self.policy.handle_defect(root, defect)
233 defect = errors.MissingHeaderBodySeparatorDefect()
234 self.policy.handle_defect(self._cur, defect)
312 defect = errors.NoBoundaryInMultipartDefect()
313 self.policy.handle_defect(self._cur, defect)
325 defect = errors.InvalidMultipartContentTransferEncodingDefect()
326 self.policy.handle_defect(self._cur, defect)
423 defect = errors.StartBoundaryNotFoundDefect()
424 self.policy.handle_defect(self._cur, defect)
436 defect = errors.CloseBoundaryNotFoundDefect()
437 self.policy.handle_defect(self._cur, defect)
482 defect = errors.FirstHeaderLineIsContinuationDefect(line)
483 self.policy.handle_defect(self._cur, defect)
508 defect = errors.MisplacedEnvelopeHeaderDefect(line)
509 self._cur.defects.append(defect)
520 defect = errors.InvalidHeaderDefect("Missing header name.")
521 self._cur.defects.append(defect)