This repository was archived by the owner on Nov 13, 2024. It is now read-only.
Commit 0b417c7
committed
Stop using the cgi module, it is deprecated
Rewrite code that calls cgi.parse_header() because the cgi module is
deprecated, and will be removed in Python 3.11
Use email.message.EmailMessage for parsing MIME types instead.1 parent 10b6efb commit 0b417c7
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
0 commit comments