Python: urllib/urllib2/httplib confusion

后端 未结 8 1864
长情又很酷
长情又很酷 2020-12-04 07:01

I\'m trying to test the functionality of a web app by scripting a login sequence in Python, but I\'m having some troubles.

Here\'s what I need to do:

  1. D
8条回答
  •  生来不讨喜
    2020-12-04 07:28

    I'd give Mechanize (http://wwwsearch.sourceforge.net/mechanize/) a shot. It may well handle your cookie/headers transparently.

提交回复
热议问题