How can I find out the http request my python cgi received? I need different behaviors for HEAD and GET.
Thanks!
import os
if os.environ['REQUEST_METHOD'] == 'GET':
# blah
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With