created test for body_or_str and made small improvement to scrapy.http.response
created test for body_or_str and made small improvement to scrapy.http.response

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40602

raphaelfruneaux/scrapy,hectoruelo/scrapy,tntC4stl3/scrapy,yarikoptic/scrapy,wzyuliyang/scrapy,rolando-contrib/scrapy,dangra/scrapy,pablohoffman/scrapy,csalazar/scrapy,beni55/scrapy,zjuwangg/scrapy,Bourneer/scrapy,OpenWhere/scrapy,jiezhu2007/scrapy,cyberplant/scrapy,zorojean/scrapy,CENDARI/scrapy,tagatac/scrapy,wangjun/scrapy,zackslash/scrapy,godfreyy/scrapy,dangra/scrapy,Slater-Victoroff/scrapy,redapple/scrapy,nikgr95/scrapy,jiezhu2007/scrapy,dgillis/scrapy,carlosp420/scrapy,fqul/scrapy,jorik041/scrapy,olafdietsche/scrapy,Chenmxs/scrapy,GregoryVigoTorres/scrapy,irwinlove/scrapy,haiiiiiyun/scrapy,nguyenhongson03/scrapy,coderabhishek/scrapy,AaronTao1990/scrapy,sardok/scrapy,starrify/scrapy,nfunato/scrapy,hansenDise/scrapy,tntC4stl3/scrapy,rdowinton/scrapy,yidongliu/scrapy,heamon7/scrapy,wzyuliyang/scrapy,elacuesta/scrapy,cyrixhero/scrapy,Cnfc19932/scrapy,cleydson/scrapy,joshlk/scrapy,crasker/scrapy,z-fork/scrapy,rahul-c1/scrapy,godfreyy/scrapy,arush0311/scrapy,beni55/scrapy,KublaikhanGeek/scrapy,profjrr/scrapy,scorphus/scrapy,huoxudong125/scrapy,farhan0581/scrapy,ENjOyAbLE1991/scrapy,pombredanne/scrapy,tliber/scrapy,irwinlove/scrapy,pawelmhm/scrapy,ENjOyAbLE1991/scrapy,Geeglee/scrapy,fontenele/scrapy,CENDARI/scrapy,zorojean/scrapy,finfish/scrapy,darkrho/scrapy-scrapy,shaform/scrapy,ndemir/scrapy,sigma-random/scrapy,Lucifer-Kim/scrapy,aivarsk/scrapy,rolando/scrapy,cyrixhero/scrapy,rolando/scrapy,avtoritet/scrapy,TarasRudnyk/scrapy,chekunkov/scrapy,agreen/scrapy,kalessin/scrapy,pfctdayelise/scrapy,avtoritet/scrapy,Partoo/scrapy,wangjun/scrapy,kmike/scrapy,haiiiiiyun/scrapy,legendtkl/scrapy,dracony/scrapy,nfunato/scrapy,OpenWhere/scrapy,jeffreyjinfeng/scrapy,github-account-because-they-want-it/scrapy,cursesun/scrapy,lacrazyboy/scrapy,wenyu1001/scrapy,xiao26/scrapy,pablohoffman/scrapy,Allianzcortex/scrapy,tagatac/scrapy,GregoryVigoTorres/scrapy,emschorsch/scrapy,codebhendi/scrapy,cyrixhero/scrapy,bmess/scrapy,nett55/scrapy,rahul-c1/scrapy,olorz/scrapy,johnardavies/scrapy,Partoo/scrapy,barraponto/scrapy,ylcolala/scrapy,JacobStevenR/scrapy,eliasdorneles/scrapy,snowdream1314/scrapy,hbwzhsh/scrapy,Lucifer-Kim/scrapy,starrify/scrapy,agreen/scrapy,ndemir/scrapy,Lucifer-Kim/scrapy,jdemaeyer/scrapy,cyberplant/scrapy,legendtkl/scrapy,johnardavies/scrapy,jc0n/scrapy,dangra/scrapy,moraesnicol/scrapy,jeffreyjinfeng/scrapy,eliasdorneles/scrapy,kimimj/scrapy,mlyundin/scrapy,liyy7/scrapy,beni55/scrapy,liyy7/scrapy,barraponto/scrapy,fqul/scrapy,pfctdayelise/scrapy,amboxer21/scrapy,dacjames/scrapy,rolando-contrib/scrapy,chekunkov/scrapy,Slater-Victoroff/scrapy,Allianzcortex/scrapy,WilliamKinaan/scrapy,wujuguang/scrapy,kimimj/scrapy,tagatac/scrapy,crasker/scrapy,nguyenhongson03/scrapy,ENjOyAbLE1991/scrapy,eLRuLL/scrapy,cursesun/scrapy,dacjames/scrapy,ArturGaspar/scrapy,zackslash/scrapy,w495/scrapy,carlosp420/scrapy,IvanGavran/scrapy,agusc/scrapy,darkrho/scrapy-scrapy,livepy/scrapy,Ryezhang/scrapy,jiezhu2007/scrapy,w495/scrapy,gnemoug/scrapy,IvanGavran/scrapy,raphaelfruneaux/scrapy,kashyap32/scrapy,taito/scrapy,yusofm/scrapy,elacuesta/scrapy,ssteo/scrapy,snowdream1314/scrapy,rahulsharma1991/scrapy,ramiro/scrapy,z-fork/scrapy,Zephor5/scrapy,hbwzhsh/scrapy,fpy171/scrapy,kmike/scrapy,fafaman/scrapy,hectoruelo/scrapy,umrashrf/scrapy,ssteo/scrapy,rdowinton/scrapy,foromer4/scrapy,nowopen/scrapy,jorik041/scrapy,mgedmin/scrapy,emschorsch/scrapy,rklabs/scrapy,mouadino/scrapy,scorphus/scrapy,devGregA/scrapy,Chenmxs/scrapy,pawelmhm/scrapy,ArturGaspar/scrapy,codebhendi/scrapy,dgillis/scrapy,redapple/scrapy,elijah513/scrapy,umrashrf/scrapy,Adai0808/scrapy-1,famorted/scrapy,umrashrf/scrapy,sardok/scrapy,zhangtao11/scrapy,mgedmin/scrapy,zorojean/scrapy,cleydson/scrapy,rolando-contrib/scrapy,YeelerG/scrapy,ylcolala/scrapy,nikgr95/scrapy,Digenis/scrapy,lacrazyboy/scrapy,CodeJuan/scrapy,Djlavoy/scrapy,profjrr/scrapy,stenskjaer/scrapy,arush0311/scrapy,nett55/scrapy,farhan0581/scrapy,ashishnerkar1/scrapy,ssteo/scrapy,mouadino/scrapy,wenyu1001/scrapy,livepy/scrapy,curita/scrapy,KublaikhanGeek/scrapy,dracony/scrapy,Cnfc19932/scrapy,rahul-c1/scrapy,elacuesta/scrapy,yidongliu/scrapy,smaty1/scrapy,Parlin-Galanodel/scrapy,ssh-odoo/scrapy,wzyuliyang/scrapy,fontenele/scrapy,jc0n/scrapy,Partoo/scrapy,coderabhishek/scrapy,tntC4stl3/scrapy,heamon7/scrapy,Preetwinder/scrapy,moraesnicol/scrapy,Preetwinder/scrapy,webmakin/scrapy,ArturGaspar/scrapy,hyrole/scrapy,joshlk/scrapy,fontenele/scrapy,farhan0581/scrapy,songfj/scrapy,eLRuLL/scrapy,rahulsharma1991/scrapy,GregoryVigoTorres/scrapy,JacobStevenR/scrapy,agusc/scrapy,chekunkov/scrapy,rdowinton/scrapy,z-fork/scrapy,fpy171/scrapy,rootAvish/scrapy,rootAvish/scrapy,amboxer21/scrapy,scrapy/scrapy,dhenyjarasandy/scrapy,pawelmhm/scrapy,cleydson/scrapy,moraesnicol/scrapy,jamesblunt/scrapy,Preetwinder/scrapy,liyy7/scrapy,KublaikhanGeek/scrapy,hyrole/scrapy,kazitanvirahsan/scrapy,dgillis/scrapy,carlosp420/scrapy,nowopen/scrapy,olorz/scrapy,Parlin-Galanodel/scrapy,Timeship/scrapy,elijah513/scrapy,taito/scrapy,Zephor5/scrapy,taito/scrapy,csalazar/scrapy,olafdietsche/scrapy,stenskjaer/scrapy,tliber/scrapy,Bourneer/scrapy,pranjalpatil/scrapy,yusofm/scrapy,github-account-because-they-want-it/scrapy,songfj/scrapy,pranjalpatil/scrapy,Parlin-Galanodel/scrapy,tliber/scrapy,mlyundin/scrapy,dacjames/scrapy,ssh-odoo/scrapy,TarasRudnyk/scrapy,URXtech/scrapy,gnemoug/scrapy,aivarsk/scrapy,Adai0808/scrapy-1,csalazar/scrapy,kashyap32/scrapy,ylcolala/scrapy,rahulsharma1991/scrapy,gbirke/scrapy,Adai0808/scrapy-1,olorz/scrapy,bmess/scrapy,famorted/scrapy,hectoruelo/scrapy,stenskjaer/scrapy,devGregA/scrapy,cyberplant/scrapy,wujuguang/scrapy,agreen/scrapy,YeelerG/scrapy,webmakin/scrapy,TarasRudnyk/scrapy,jorik041/scrapy,Ryezhang/scrapy,coderabhishek/scrapy,zhangtao11/scrapy,songfj/scrapy,curita/scrapy,agusc/scrapy,yarikoptic/scrapy,avtoritet/scrapy,Digenis/scrapy,legendtkl/scrapy,dhenyjarasandy/scrapy,godfreyy/scrapy,shaform/scrapy,pranjalpatil/scrapy,github-account-because-they-want-it/scrapy,ramiro/scrapy,pombredanne/scrapy,kalessin/scrapy,w495/scrapy,huoxudong125/scrapy,yusofm/scrapy,profjrr/scrapy,rootAvish/scrapy,zackslash/scrapy,hansenDise/scrapy,scrapy/scrapy,IvanGavran/scrapy,arush0311/scrapy,JacobStevenR/scrapy,ashishnerkar1/scrapy,devGregA/scrapy,bmess/scrapy,lacrazyboy/scrapy,kmike/scrapy,kalessin/scrapy,kashyap32/scrapy,crasker/scrapy,Zephor5/scrapy,1yvT0s/scrapy,yarikoptic/scrapy,hwsyy/scrapy,dhenyjarasandy/scrapy,webmakin/scrapy,fafaman/scrapy,ssh-odoo/scrapy,jc0n/scrapy,jdemaeyer/scrapy,cursesun/scrapy,zjuwangg/scrapy,emschorsch/scrapy,xiao26/scrapy,amboxer21/scrapy,wenyu1001/scrapy,zhangtao11/scrapy,eliasdorneles/scrapy,dracony/scrapy,hansenDise/scrapy,nowopen/scrapy,smaty1/scrapy,CodeJuan/scrapy,snowdream1314/scrapy,zjuwangg/scrapy,kazitanvirahsan/scrapy,redapple/scrapy,hbwzhsh/scrapy,scorphus/scrapy,AaronTao1990/scrapy,livepy/scrapy,OpenWhere/scrapy,Allianzcortex/scrapy,CENDARI/scrapy,finfish/scrapy,fafaman/scrapy,rklabs/scrapy,scrapy/scrapy,Timeship/scrapy,jamesblunt/scrapy,wujuguang/scrapy,elijah513/scrapy,WilliamKinaan/scrapy,Bourneer/scrapy,darkrho/scrapy-scrapy,jdemaeyer/scrapy,fpy171/scrapy,codebhendi/scrapy,xiao26/scrapy,AaronTao1990/scrapy,eLRuLL/scrapy,1yvT0s/scrapy,mgedmin/scrapy,YeelerG/scrapy,famorted/scrapy,shaform/scrapy,finfish/scrapy,Chenmxs/scrapy,kimimj/scrapy,barraponto/scrapy,mlyundin/scrapy,pombredanne/scrapy,pablohoffman/scrapy,Ryezhang/scrapy,Djlavoy/scrapy,nett55/scrapy,nfunato/scrapy,starrify/scrapy,rolando/scrapy,kazitanvirahsan/scrapy,gbirke/scrapy,foromer4/scrapy,huoxudong125/scrapy,URXtech/scrapy,rklabs/scrapy,smaty1/scrapy,Timeship/scrapy,URXtech/scrapy,fqul/scrapy,Geeglee/scrapy,curita/scrapy,nguyenhongson03/scrapy,Geeglee/scrapy,wangjun/scrapy,1yvT0s/scrapy,Djlavoy/scrapy,haiiiiiyun/scrapy,hwsyy/scrapy,johnardavies/scrapy,CodeJuan/scrapy,aivarsk/scrapy,yidongliu/scrapy,Digenis/scrapy,WilliamKinaan/scrapy,ramiro/scrapy,nikgr95/scrapy,foromer4/scrapy,pfctdayelise/scrapy,olafdietsche/scrapy,Slater-Victoroff/scrapy,hwsyy/scrapy,sigma-random/scrapy,hyrole/scrapy,irwinlove/scrapy,Cnfc19932/scrapy,heamon7/scrapy,raphaelfruneaux/scrapy,joshlk/scrapy,jeffreyjinfeng/scrapy