fixes #5
This commit is contained in:
parent
fa0c2d9774
commit
61bdab1e30
1 changed files with 2 additions and 1 deletions
|
@ -127,6 +127,7 @@ func proxyHandler(response http.ResponseWriter, request *http.Request) {
|
|||
|
||||
// Make the request
|
||||
var proxyRequest http.Request;
|
||||
proxyRequest.Header = make(http.Header);
|
||||
proxyRequest.Method = requestData.Method;
|
||||
proxyRequest.URL, err = url.Parse(requestData.Url);
|
||||
if(len(requestData.Auth.Username) > 0 && len(requestData.Auth.Password) > 0) {
|
||||
|
|
Loading…
Reference in a new issue