aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/client.go b/client.go
index 40590d6..596694f 100644
--- a/client.go
+++ b/client.go
@@ -1,7 +1,6 @@
package acme
import (
- "bytes"
"encoding/json"
"errors"
"fmt"
@@ -81,8 +80,7 @@ func (c *Client) post(url string, s Signer, v interface{}) error {
return err
}
- resp, err := http.Post(url, "application/jose+json",
- bytes.NewReader(signed))
+ resp, err := http.Post(url, "application/jose+json", signed)
if err != nil {
return err
}