code: def _log_multipart(self, body, logging_context):
          
          try:
              body_str = body.decode()
          except UnicodeDecodeError:
              self.logger.log(self.log_level, "(multipart/form)", logging_context)
              return
  
          parts = body_str.split(self.boundary)
          last = len(parts) - 1
          for i, part in enumerate(parts):
              if 'Content-Type:' in part:
                  match = BINARY_REGEX.search(part)
                  if match and match.group(2) in BINARY_TYPES and not match.group(4) in ('', '\r\n'):
                      part = match.expand(r'\1\2/\3\r\n\r\n(binary data)\r\n')
  
              if i != last:
                  part = part + self.boundary
  
              self.logger.log(self.log_level, part, logging_context)
docs: Splits multipart body into parts separated by "boundary", then matches each part to BINARY_REGEX
          which searches for existence of "Content-Type" and capture of what type is this part.
          If it is an image or an application replace that content with "(binary data)" string.
          This function will log "(multipart/form)" if body can't be decoded by utf-8.