Commit 176852b
committed
Incorporate cgi.FieldStorage into Webware
Since the cgi module has been deprecated in Python 3.11,
we incorporate the cgi.FieldStorage into the WebUtils package.
This also allows us to make the necessary modifications
and patches directly in the code instead of implementing
them in a subclass which was brittle and broke several times.
This way Webware will keep full backward compatibility.
In a future version, Request.FieldStorage() could be removed
and fields could be provided via the multipart package.1 parent 0689a92 commit 176852b
File tree
5 files changed
+1065
-107
lines changed- webware/WebUtils
- Tests
5 files changed
+1065
-107
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments