Commit f0d4b17b authored by Sander van Harmelen's avatar Sander van Harmelen

Merge pull request #10 from clns/master

Don't add the host into the url opaque param
parents 84efc1e1 d5e2e8d0
...@@ -172,7 +172,7 @@ func (c *Client) SetBaseURL(urlStr string) error { ...@@ -172,7 +172,7 @@ func (c *Client) SetBaseURL(urlStr string) error {
} }
// Set the encoded opaque data // Set the encoded opaque data
c.baseURL.Opaque = fmt.Sprintf("//%s%s", c.baseURL.Host, c.baseURL.Path) c.baseURL.Opaque = c.baseURL.Path
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment