2012-11-22 35 views
1

我得到的HTML源代码从请求我有以下脚本:如何使用磨床

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记录。谢谢。

回答