wangluozhe / requests

用于快速请求HTTP或HTTPS,并支持修改ja3、ja4指纹
GNU General Public License v3.0
417 stars 93 forks source link

utils/code.go 增加Marshal方法; json请求体改用自定义Marshal方法 #46

Open shenpuyu0 opened 11 months ago

shenpuyu0 commented 11 months ago

Akamai发送sensor_data时,使用json.Marshal会对<、>、&等字符进行HTML编码,将PrepareRequest.go中对json请求体的解析替换为自定义方法,可避免编码,使请求体保持原状