diff --git a/client.go b/client.go index 7e2c1b2..3c665c3 100644 --- a/client.go +++ b/client.go @@ -33,6 +33,10 @@ func NewClient(uri string, user string, pw string) *Client { return c } +func (c *Client) SetHeader(key, value string) { + c.headers.Add(key, value) +} + func (c *Client) Connect() error { rs, err := c.options("/") if err == nil {