Kludex / python-multipart

A streaming multipart parser for Python.

Home Page:https://kludex.github.io/python-multipart/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Handling Multipart Forms Containing Cyrillic File Names

h0rn3t opened this issue · comments

Issue with Handling Multipart Forms Containing Cyrillic File Names

  File "/Users/h0rn3t/PycharmProjects/ms-mass-load/venv/lib/python3.11/site-packages/multipart/multipart.py", line 118, in parse_options_header
    options[key.encode('latin-1')] = value.encode('latin-1')
                                     ^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'encode'
  • Duplicated of #78