79371095

Date: 2025-01-20 11:09:39
Score: 0.5
Natty:
Report link

As Vegard already commented, the error stems from Django's MultiPartParser when it detects the header is larger than the passed max parameter: https://github.com/django/django/blob/main/django/http/multipartparser.py#L693

The method is called with the max value in MAX_TOTAL_HEADER_SIZE https://github.com/django/django/blob/main/django/http/multipartparser.py#L754

But it also seems there is no easy way to configure a bigger value as it is hardcoded https://github.com/django/django/blob/main/django/http/multipartparser.py#L45

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: queeg