lexiforest / curl_cffi

Python binding for curl-impersonate fork via cffi. A http client that can impersonate browser tls/ja3/http2 fingerprints.
https://curl-cffi.readthedocs.io/
MIT License
2.49k stars 265 forks source link

POST 格式 #433

Open l7123222l7 opened 1 week ago

l7123222l7 commented 1 week ago

可否在 後續版本中 改為 application/x-www-form-urlencoded 在0.7.3版本後都變成了Content-Type: application/octet-stream

lexiforest commented 2 days ago

If you set data=b"...", it's assumed to be a binary data. You need to use data={...} for POST forms.