Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reminder to support body content in forwarded requests so POST/PUT/DE…

…LETE reqs can be supported
  • Loading branch information...
commit 0c4c24f92d6c2b71ff72d8ce713f22ab010e96ea 1 parent a21b316
@mattetti authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  http_client.go
View
3  http_client.go
@@ -65,6 +65,9 @@ func (this *HttpClient) Forward(req *http.Request, newDomain string) (resp *http
}
}
+ // TODO support for content in the body if we aren't
+ // dealing with GET/HEAD requests.
+
url = nReq.URL.String()
// Wrapped the client so I could do that ...sigh...
// Also, #Do i a wrapper around #send
Please sign in to comment.
Something went wrong with that request. Please try again.