bbc-frameworks/frameworks-capybara — pull request #16 by richardhodgson (2013-03-13 17:00:41+00:00)
Title: Missing referer header

Mechanize-capybara `nil`s the `Referer` from request when the request URI starts with 'http(s)://'.

This behaviour may have changed in the latest Mechanize, however we don't have time to upgrade at the moment. Instead we've updated the current patch.

This patch sends the header as expected and follows modern browser behaviour when moving from http to https URLs.