summaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.go')
-rw-r--r--client/client.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/client.go b/client/client.go
index af7c2d8..b68b2be 100644
--- a/client/client.go
+++ b/client/client.go
@@ -16,9 +16,6 @@ type CaesarClient struct {
// Endpoint is the URL to which HTTP requests should be made
Endpoint string
- // Token is an authorization token to supply to the server
- Token string
-
c *http.Client
once sync.Once
}
@@ -33,7 +30,6 @@ func (c *CaesarClient) EncodeMessage(r io.Reader) (io.Reader, error) {
if err != nil {
return nil, err
}
- req.Header.Set("authorization", "token "+c.Token)
req.Header.Set("user-agent", "caesar-client/1.0")
resp, err := c.c.Do(req)
if err != nil {