Вопрос по python, xml – Самый простой способ отправить XML через HTTP-запросы в Python?

2

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded Takkun
Error: User Rate Limit Exceededstackoverflow.com/q/1912434/208339Error: User Rate Limit Exceeded Steve Tjoa
Error: User Rate Limit Exceededsuds. joar

Ваш Ответ

1   ответ
6

urllib2:

r = urllib2.Request("http://example.com", data="<xml>spam</xml>",
                     headers={'Content-Type': 'application/xml'})
u = urllib2.urlopen(r)
response = u.read()

application/x-www-form-urlencoded.

requests

lxmlelementtree

Error: User Rate Limit Exceeded Takkun
Error: User Rate Limit ExceededrequestsError: User Rate Limit Exceeded
Error: User Rate Limit Exceeded Takkun
Error: User Rate Limit ExceededrequestsError: User Rate Limit Exceeded
Error: User Rate Limit Exceeded

Похожие вопросы