lib/hurley/url.rb in hurley-0.1 vs lib/hurley/url.rb in hurley-0.2

- old
+ new

@@ -150,10 +150,10 @@ end def basic_auth return unless @user userinfo = @password ? "#{@user}:#{@password}" : @user - "Basic #{Base64.encode64(userinfo).rstrip}" + "Basic #{Base64.encode64(userinfo).gsub(/\n/, EMPTY)}" end def query_class @query_class ||= Query.default end