zero3301 / pyhttpx

A network library based on socket development
MIT License
255 stars 57 forks source link

can not get 304 redirect respone html text #12

Closed zhangyu1009e closed 1 year ago

zhangyu1009e commented 1 year ago

import pyhttpx sess = pyhttpx.HttpSession(browser_type='chrome', http2=False)

url = "https://ccie.cloudapps.cisco.com/CCIE/Schedule_Lab/CCIEOnline/CCIEOnline"

debug_ADRUM_BTa = sess.get('https://ccie.cloudapps.cisco.com/CCIE/Schedule_Lab/CCIEOnline/CCIEOnline')

print(debug_ADRUM_BTa.status_code)

print(debug_ADRUM_BTa.text)

like this,how can i do get the right response ,emm. think you

zero3301 commented 1 year ago

import pyhttpx sess = pyhttpx.HttpSession(browser_type='chrome', http2=False)

url = "https://ccie.cloudapps.cisco.com/CCIE/Schedule_Lab/CCIEOnline/CCIEOnline"

debug_ADRUM_BTa = sess.get('https://ccie.cloudapps.cisco.com/CCIE/Schedule_Lab/CCIEOnline/CCIEOnline')

print(debug_ADRUM_BTa.status_code)

print(debug_ADRUM_BTa.text)

like this,how can i do get the right response ,emm. think you

This problem needs to be fixed. Please use version 2.0.8