Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalbe4 committed Aug 12, 2019
2 parents a5f434a + 75af4c0 commit 8ae8b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifactory/httpclient/httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (rtc *ArtifactoryHttpClient) SendPost(url string, content []byte, httpClien

func (rtc *ArtifactoryHttpClient) SendPostForm(url string, data url.Values, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error) {
httpClientsDetails.Headers["Content-Type"] = "application/x-www-form-urlencoded"
return rtc.SendPost(url, []byte(data.Encode()), *httpClientsDetails)
return rtc.SendPost(url, []byte(data.Encode()), httpClientsDetails)
}

func (rtc *ArtifactoryHttpClient) SendPatch(url string, content []byte, httpClientsDetails *httputils.HttpClientDetails) (resp *http.Response, body []byte, err error) {
Expand Down

0 comments on commit 8ae8b68

Please sign in to comment.