close

顯示 http request detail

import requests
import logging

from httplib import HTTPConnection
HTTPConnection.debuglevel = 1

logging.basicConfig(level=logging.DEBUG)
requests.get('https://httpbin.org/headers')

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 JohnDX 的頭像
    JohnDX

    我要回家想一想~

    JohnDX 發表在 痞客邦 留言(0) 人氣()