Skip to content

Commit

Permalink
Update HTTPDigestAuth.js
Browse files Browse the repository at this point in the history
Fix for HTTP digest auth, using the same method as original request
  • Loading branch information
dac09 committed Sep 12, 2016
1 parent 1ab3d2f commit 12ee9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HTTPDigestAuth.js
Expand Up @@ -40,7 +40,7 @@ export default class HTTPDigestAuth {
//noinspection JSUnresolvedFunction
const request = new NetworkHTTPRequest()
request.requestUrl = currentRequest.url
request.method = currentRequest.method
request.requestMethod = currentRequest.method
let currentUserAgent = currentRequest.getHeaderByName('User-Agent')
if (currentUserAgent == null) {
currentUserAgent = "Paw/" + bundle.appVersion + " (Macintosh; OS X/" + bundle.osVersion + ") GCDHTTPRequest"
Expand Down

0 comments on commit 12ee9bd

Please sign in to comment.