我有以下脚本:
def page2(self):
"""GET / (request 201)."""
result = request201.GET('/mypage/', None,
( NVPair('Accept', 'image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x- shockwave-flash, */*'),
NVPair('Accept-Language', 'en-us'), ))
# here i want to print the html source code from the result
return result
脚本是使用Grinder Proxy录制的。非常感谢。在
添加此行:
有关其他详细信息,请参见http://grinder.sourceforge.net/g3/script-javadoc/HTTPClient/HTTPResponse.html。在
相关问题 更多 >
编程相关推荐