aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-10 16:39:12 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-10 16:39:12 +0100
commit26006592a75df616eed5f9214348c94687991f8d (patch)
tree2f529b3ca2532cc1b88568822457de5edc962ef9 /client.go
parent32215b65656e77c2064fd0f0318bbc30ca96ce29 (diff)
Add helper contact
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.go b/client.go
index 238543c..c615066 100644
--- a/client.go
+++ b/client.go
@@ -4,6 +4,7 @@ import (
"bytes"
"encoding/json"
"errors"
+ "log"
"net/http"
"net/textproto"
"regexp"
@@ -75,6 +76,7 @@ func (c *Client) Post(s Signer, uri string, v interface{}) (*http.Response, erro
if err != nil {
return nil, err
}
+ log.Println(string(body))
signed, err := s.Sign(body, c)
if err != nil {