我有一个在PHP中使用的cURL调用:
curl -i -H'接受:application/xml'-u login:key" https://app.streamsend.com/emails "
我需要一种在Python中做同样事情的方法.在Python中是否有替代cURL的方法.我知道urllib,但我是一个Python noob,不知道如何使用它.
python curl
curl ×1
python ×1