HTTP¶
Init parameter¶
timeout: | default timeout=20 . |
---|
Callable parameter:¶
can be call by string (url), and Httprequest.
HttpResponse¶
HttpResponse
json: | return a json object |
---|---|
text: | get text body of the httpresponse |
xml: | get lxml object |
css: | get css object |
HttpRequest¶
head: | |
---|---|
body: | |
url: | |
proxy: |