Fixes stub request to work with Nokogiri