Investigation how Python works with HTTP and other network protocols