Python

A collection of 4 posts

[Python] HTTP POST

import http.client import urllib.parse connection = http.client.HTTPConnection('esquery.tku.edu.tw', 80, timeout=10) connection.request( 'POST', '/acad/query_result.asp', headers={ 'Host': 'esquery.tku.edu.tw', 'Content-Type': 'application/