I am pretty new to Python's urllib. What I need to do is set a custom HTTP header for the request being sent to the server.
Specifically, I need to set the Content-Type
and Authorization
HTTP headers. I have looked into the Python documentation, but I haven't been able to find it.