lostisland/faraday — pull request #257 by dukejones (2013-04-14 02:43:26+00:00)
Title: strict_base64 required for HTTP Auth to IIS servers.

Loosely related to #256.

Base64#encode64 inserts a \n every 60 characters. A base64-encoded string with newlines confuses IIS completely and cannot be used for HTTP Authentication.

Base64#strict_encode64 was introduced in Ruby 1.9, so there would be a dependency there.