lib/capybara/mechanize/browser.rb in bbc-capybara-mechanize-0.4 vs lib/capybara/mechanize/browser.rb in bbc-capybara-mechanize-0.4.1

- old
+ new

@@ -240,9 +240,10 @@ end def headers # Hax the content-type contains utf8, so Capybara specs are failing, need to ask mailinglist headers = page.response + headers["cache-control"] = "no-cache" headers["content-type"].gsub!(';charset=utf-8', '') if headers["content-type"] headers end def status \ No newline at end of file