Fix disable gzip for Ruby 2.0
Fix disable gzip for Ruby 2.0

If we've not set an accept encoding by the time we're making a request,
set the accept encoding to request "identity" only. Ruby 2.0 seems to
have some sort of built-in gzip support that we need to explicitly
disable.

Note that prior to this patch, we were _always_ advertising gzip
support, but we would skip decompression if disable_gzip had been set,
which only did the right thing accidentally.

h4ck3rm1k3/chef,aaron-lane/chef,brettcave/chef,cachamber/chef,nathwill/chef,onlyhavecans/chef,grubernaut/chef,b002368/chef-repo,sometimesfood/chef,zshuo/chef,h4ck3rm1k3/chef,skmichaelson/chef,swalberg/chef,sekrett/chef,jaymzh/chef,jkerry/chef,zshuo/chef,DeWaRs1206/chef,askl56/chef,tbunnyman/chef,ChaosCloud/chef,malisettirammurthy/chef,webframp/chef,EasonYi/chef,pburkholder/chef,ekometti/chef,circleback/chef,zshuo/chef,sometimesfood/chef,lamont-granquist/chef,legal90/chef,nvwls/chef,jimmymccrory/chef,nsdavidson/chef,mwrock/chef,cgvarela/chef,antonifs/chef,andrewpsp/chef,swalberg/chef,ckaushik/chef,acaiafa/chef,Ppjet6/chef,OpSitters/chef,MsysTechnologiesllc/chef,AndyBoucher/Chef-Testing,jaymzh/chef,tbunnyman/chef,BackSlasher/chef,chef/chef,gsaslis/chef,ranjib/chef,pburkholder/chef,jimmymccrory/chef,jagdeesh109/chef,webframp/chef,ccope/chef,kaznishi/chef,clintoncwolfe/chef,antonifs/chef,b002368/chef-repo,strangelittlemonkey/chef,cachamber/chef,bahamas10/chef,Tensibai/chef,josb/chef,h4ck3rm1k3/chef,jimmymccrory/chef,smurawski/chef,higanworks/chef,nsdavidson/chef,nalingarg2/chef-1,criteo-forks/chef,sysbot/chef,3dinfluence/chef,h4ck3rm1k3/chef,joemiller/chef,3dinfluence/chef,mio-g/chef,tbriggs-curse/chef,BackSlasher/chef,sideci-sample/sideci-sample-chef,martinisoft/chef,higanworks/chef,higanworks/chef,ktpan/chef-play,tomdoherty/chef,ChaosCloud/chef,jkerry/chef,youngjl1/chef,ccope/chef,sekrett/chef,ccsplit/chef,martinb3/chef,docwhat/chef,nellshamrell/chef,onlyhavecans/chef,OpSitters/chef,josb/chef,cmluciano/chef,ekometti/chef,sekrett/chef,AndyBoucher/Chef-Testing,MsysTechnologiesllc/chef,martinb3/chef,faspl/chef,oclaussen/chef,antonifs/chef,youngjl1/chef,martinisoft/chef,zuazo-forks/chef,strangelittlemonkey/chef,clintoncwolfe/chef,ccsplit/chef,gene1wood/chef,malisettirammurthy/chef,nathwill/chef,lamont-granquist/chef,mikefaille/chef,martinb3/chef,jagdeesh109/chef,ccope/chef,Tensibai/chef,juliandunn/chef,gsaslis/chef,3dinfluence/chef,nalingarg2/chef-1,mio-g/chef,higanworks/chef,Igorshp/chef,MichaelPereira/chef,Igorshp/chef,jblaine/chef,jagdeesh109/chef,gsaslis/chef,acaiafa/chef,mwrock/chef,pburkholder/chef,legal90/chef,gsaslis/chef,tbriggs-curse/chef,someara/chef,askl56/chef,jordane/chef,bahamas10/chef,jk47/chef,custora/chef,ckaushik/chef,b002368/chef-repo,ranjib/chef,danielsdeleo/seth,jonlives/chef,natewalck/chef,patcon/chef,sekrett/chef,patcon/chef,jk47/chef,Ppjet6/chef,renanvicente/chef,tbunnyman/chef,permyakovsv/chef,mattray/chef,zshuo/chef,Kast0rTr0y/chef,OpSitters/chef,tbriggs-curse/chef,gsaslis/chef,mio-g/chef,jblaine/chef,renanvicente/chef,ccope/chef,Kast0rTr0y/chef,joemiller/chef,circleback/chef,malisettirammurthy/chef,sometimesfood/chef,skmichaelson/chef,Tensibai/chef,tas50/chef-1,erkolson/chef,sanditiffin/chef,Kast0rTr0y/chef,tomdoherty/chef,acaiafa/chef,malisettirammurthy/chef,docwhat/chef,antonifs/chef,acaiafa/chef,askl56/chef,Kast0rTr0y/chef,jblaine/chef,jagdeesh109/chef,evan2645/chef,mikefaille/chef,oclaussen/chef,ccsplit/chef,acaiafa/chef,paulmooring/chef,nellshamrell/chef,adamleff/chef,criteo-forks/chef,ekometti/chef,askl56/chef,jonlives/chef,danielsdeleo/seth,erkolson/chef,pburkholder/chef,nguyen-tien-mulodo/chef,renanvicente/chef,karthikrev/chef,mattray/chef,cmluciano/chef,gene1wood/chef,jimmymccrory/chef,sekrett/chef,adamleff/chef,mikefaille/chef,evan2645/chef,robmul/chef,zuazo-forks/chef,sometimesfood/chef,faspl/chef,sempervictus/chef,chef/chef,jagdeesh109/chef,tas50/chef-1,jonlives/chef,polamjag/chef,clintoncwolfe/chef,natewalck/chef,ktpan/chef-play,DeWaRs1206/chef,erkolson/chef,strangelittlemonkey/chef,nvwls/chef,jmhardison/chef,jmhardison/chef,karthikrev/chef,legal90/chef,strangelittlemonkey/chef,jordane/chef,baberthal/chef,mwrock/chef,acaiafa/chef,nvwls/chef,polamjag/chef,OpSitters/chef,evan2645/chef,mattray/chef,nathwill/chef,ekometti/chef,nicklv/chef,ktpan/chef-play,erkolson/chef,zshuo/chef,renanvicente/chef,mikedodge04/chef,onlyhavecans/chef,nguyen-tien-mulodo/chef,grubernaut/chef,polamjag/chef,joemiller/chef,paulmooring/chef,tbunnyman/chef,jkerry/chef,mattray/chef,baberthal/chef,DeWaRs1206/chef,clintoncwolfe/chef,jblaine/chef,Kast0rTr0y/chef,jmhardison/chef,AndyBoucher/Chef-Testing,ckaushik/chef,ducthanh/chef,martinisoft/chef,lamont-granquist/chef,ckaushik/chef,smurawski/chef,ktpan/chef-play,MichaelPereira/chef,tomdoherty/chef,polamjag/chef,legal90/chef,mal/chef,skmichaelson/chef,askl56/chef,antonifs/chef,jblaine/chef,onlyhavecans/chef,DeWaRs1206/chef,nellshamrell/chef,ktpan/chef-play,chef/chef,erkolson/chef,bahamas10/chef,Kast0rTr0y/chef,zuazo-forks/chef,criteo-forks/chef,ranjib/chef,3dinfluence/chef,Tensibai/chef,jonlives/chef,tbunnyman/chef,swalberg/chef,EasonYi/chef,adamleff/chef,ccsplit/chef,cachamber/chef,kaznishi/chef,mal/chef,kaznishi/chef,MichaelPereira/chef,mal/chef,mikedodge04/chef,patcon/chef,jaymzh/chef,sempervictus/chef,MichaelPereira/chef,natewalck/chef,MichaelPereira/chef,custora/chef,smurawski/chef,skmichaelson/chef,jimmymccrory/chef,polamjag/chef,evan2645/chef,nalingarg2/chef-1,joemiller/chef,clintoncwolfe/chef,sanditiffin/chef,nsdavidson/chef,someara/chef,cmluciano/chef,smurawski/chef,aaron-lane/chef,docwhat/chef,robmul/chef,ranjib/chef,josb/chef,danielsdeleo/seth,grubernaut/chef,circleback/chef,Ppjet6/chef,faspl/chef,onlyhavecans/chef,circleback/chef,3dinfluence/chef,ducthanh/chef,permyakovsv/chef,swalberg/chef,webframp/chef,natewalck/chef,sysbot/chef,clintoncwolfe/chef,martinb3/chef,martinb3/chef,nsdavidson/chef,mikefaille/chef,oclaussen/chef,mwrock/chef,bahamas10/chef,mal/chef,ranjib/chef,mio-g/chef,andrewpsp/chef,mikedodge04/chef,Ppjet6/chef,nalingarg2/chef-1,Igorshp/chef,BackSlasher/chef,smurawski/chef,paulmooring/chef,sempervictus/chef,MsysTechnologiesllc/chef,EasonYi/chef,DeWaRs1206/chef,nathwill/chef,sysbot/chef,permyakovsv/chef,AndyBoucher/Chef-Testing,josb/chef,zuazo-forks/chef,ccope/chef,h4ck3rm1k3/chef,danielsdeleo/seth,robmul/chef,nalingarg2/chef-1,paulmooring/chef,kaznishi/chef,erkolson/chef,jordane/chef,Tensibai/chef,circleback/chef,askl56/chef,karthikrev/chef,evan2645/chef,josb/chef,ktpan/chef-play,adamleff/chef,karthikrev/chef,aaron-lane/chef,jk47/chef,robmul/chef,brettcave/chef,natewalck/chef,ekometti/chef,nellshamrell/chef,kaznishi/chef,joemiller/chef,pburkholder/chef,faspl/chef,oclaussen/chef,zuazo-forks/chef,aaron-lane/chef,youngjl1/chef,sometimesfood/chef,nguyen-tien-mulodo/chef,nicklv/chef,jagdeesh109/chef,patcon/chef,patcon/chef,paulmooring/chef,jmhardison/chef,docwhat/chef,mal/chef,strangelittlemonkey/chef,brettcave/chef,zshuo/chef,nguyen-tien-mulodo/chef,sempervictus/chef,jk47/chef,Igorshp/chef,nvwls/chef,higanworks/chef,nicklv/chef,permyakovsv/chef,aaron-lane/chef,nellshamrell/chef,lamont-granquist/chef,sideci-sample/sideci-sample-chef,malisettirammurthy/chef,jimmymccrory/chef,juliandunn/chef,ChaosCloud/chef,nalingarg2/chef-1,sekrett/chef,nguyen-tien-mulodo/chef,sideci-sample/sideci-sample-chef,custora/chef,sysbot/chef,criteo-forks/chef,someara/chef,nathwill/chef,ChaosCloud/chef,juliandunn/chef,cachamber/chef,nguyen-tien-mulodo/chef,andrewpsp/chef,custora/chef,grubernaut/chef,cachamber/chef,mikefaille/chef,sysbot/chef,Ppjet6/chef,h4ck3rm1k3/chef,EasonYi/chef,chef/chef,jaymzh/chef,jonlives/chef,criteo-forks/chef,someara/chef,webframp/chef,EasonYi/chef,BackSlasher/chef,onlyhavecans/chef,nicklv/chef,someara/chef,tbriggs-curse/chef,custora/chef,martinisoft/chef,b002368/chef-repo,permyakovsv/chef,sanditiffin/chef,swalberg/chef,renanvicente/chef,circleback/chef,paulmooring/chef,ccsplit/chef,ducthanh/chef,zuazo-forks/chef,jk47/chef,mikedodge04/chef,ChaosCloud/chef,cgvarela/chef,sideci-sample/sideci-sample-chef,criteo-forks/chef,youngjl1/chef,b002368/chef-repo,sanditiffin/chef,sempervictus/chef,brettcave/chef,ducthanh/chef,MichaelPereira/chef,grubernaut/chef,aaron-lane/chef,jkerry/chef,bahamas10/chef,joemiller/chef,custora/chef,gene1wood/chef,jkerry/chef,nvwls/chef,baberthal/chef,jblaine/chef,tas50/chef-1,baberthal/chef,evan2645/chef,jmhardison/chef,OpSitters/chef,permyakovsv/chef,tbunnyman/chef,sometimesfood/chef,legal90/chef,mio-g/chef,bahamas10/chef,cgvarela/chef,jordane/chef,martinb3/chef,renanvicente/chef,nsdavidson/chef,nsdavidson/chef,andrewpsp/chef,tomdoherty/chef,nicklv/chef,jordane/chef,baberthal/chef,jonlives/chef,gene1wood/chef,Igorshp/chef,pburkholder/chef,cmluciano/chef,ckaushik/chef,adamleff/chef,cgvarela/chef,youngjl1/chef,lamont-granquist/chef,3dinfluence/chef,MsysTechnologiesllc/chef,gsaslis/chef,baberthal/chef,swalberg/chef,tbriggs-curse/chef,nathwill/chef,DeWaRs1206/chef,AndyBoucher/Chef-Testing,cgvarela/chef,BackSlasher/chef,lamont-granquist/chef,mikedodge04/chef,cachamber/chef,andrewpsp/chef,ckaushik/chef,robmul/chef,mal/chef,Igorshp/chef,ekometti/chef,webframp/chef,jk47/chef,sanditiffin/chef,karthikrev/chef,ccsplit/chef,AndyBoucher/Chef-Testing,docwhat/chef,sempervictus/chef,nvwls/chef,brettcave/chef,youngjl1/chef,karthikrev/chef,jmhardison/chef,docwhat/chef,tbriggs-curse/chef,skmichaelson/chef,oclaussen/chef,kaznishi/chef,tas50/chef-1,tomdoherty/chef,polamjag/chef,juliandunn/chef,strangelittlemonkey/chef,webframp/chef,faspl/chef,skmichaelson/chef,EasonYi/chef,brettcave/chef,nicklv/chef,Ppjet6/chef,mio-g/chef,robmul/chef,ChaosCloud/chef,smurawski/chef,b002368/chef-repo,legal90/chef,patcon/chef,ranjib/chef,jkerry/chef,grubernaut/chef,martinisoft/chef,oclaussen/chef,antonifs/chef,faspl/chef,juliandunn/chef,adamleff/chef,OpSitters/chef,malisettirammurthy/chef,cmluciano/chef,andrewpsp/chef,mikefaille/chef,mikedodge04/chef,ducthanh/chef,sideci-sample/sideci-sample-chef,natewalck/chef,sanditiffin/chef,josb/chef,nellshamrell/chef,cgvarela/chef,BackSlasher/chef,danielsdeleo/seth,someara/chef,mattray/chef,ducthanh/chef