Skip to content

Commit

Permalink
Set correct method during signature calcuation
Browse files Browse the repository at this point in the history
  • Loading branch information
kippandrew committed Oct 30, 2013
1 parent 72a0937 commit 6376f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/http.R
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ httpWithBody <- function(authInfo,
path <- paste(service$path, path, sep="")

# get signature headers and append them
sigHeaders <- signatureHeaders(authInfo, "POST", path, file)
sigHeaders <- signatureHeaders(authInfo, method, path, file)
headers <- append(headers, sigHeaders)

# if we have content then write it to a temp file before posting
Expand Down

0 comments on commit 6376f0f

Please sign in to comment.