from http.server import SimpleHTTPRequestHandler
from socketserver import TCPServer
import requests


class WebServer(SimpleHTTPRequestHandler):

    def do_GET(self):
        print(self.headers)
        super().do_GET()


print('Press Ctrl+C to stop...')
TCPServer(('127.0.0.1', 8000), WebServer).serve_forever

26e1d1650cdac120aef36919708dd659707ca9ab
<mask token>


class WebServer(SimpleHTTPRequestHandler):
    <mask token>


<mask token>

<mask token>


class WebServer(SimpleHTTPRequestHandler):

    def do_GET(self):
        print(self.headers)
        super().do_GET()


<mask token>

<mask token>


class WebServer(SimpleHTTPRequestHandler):

    def do_GET(self):
        print(self.headers)
        super().do_GET()


print('Press Ctrl+C to stop...')
TCPServer(('127.0.0.1', 8000), WebServer).serve_forever

from http.server import SimpleHTTPRequestHandler
from socketserver import TCPServer
import requests


class WebServer(SimpleHTTPRequestHandler):

    def do_GET(self):
        print(self.headers)
        super().do_GET()


print('Press Ctrl+C to stop...')
TCPServer(('127.0.0.1', 8000), WebServer).serve_forever
