mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-28 01:54:42 +00:00
12 lines
175 B
Python
12 lines
175 B
Python
|
|
#!/usr/bin/python3
|
||
|
|
|
||
|
|
import cgi
|
||
|
|
from http import cookies
|
||
|
|
|
||
|
|
form = cgi.FieldStorage()
|
||
|
|
C = cookies.SimpleCookie()
|
||
|
|
for field in form:
|
||
|
|
C[field] = form.getvalue(field)
|
||
|
|
|
||
|
|
print(C)
|