Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro committed May 8, 2010
1 parent 25549a1 commit d083075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/httparty/net_digest_auth.rb
Expand Up @@ -28,7 +28,7 @@ def digest_auth(user, password, response)
header = []
header << "Digest username=\"#{user}\""
header << "realm=\"#{params['realm']}\""

header << "qop=#{params['qop']}"

header << "algorithm=MD5"
Expand Down
2 changes: 1 addition & 1 deletion lib/httparty/request.rb
Expand Up @@ -113,7 +113,7 @@ def setup_raw_request
@raw_request.basic_auth(username, password) if options[:basic_auth]
setup_digest_auth if options[:digest_auth]
end

def setup_digest_auth
res = http.head(uri.request_uri)
if res['www-authenticate'] != nil && res['www-authenticate'].length > 0
Expand Down

0 comments on commit d083075

Please sign in to comment.