user-agent for posts as well
Ted Unangst tedu@tedunangst.com
Mon, 20 May 2019 10:48:42 -0400
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -89,6 +89,7 @@ req, err := http.NewRequest("POST", url, bytes.NewReader(msg))
if err != nil { return err } + req.Header.Set("User-Agent", "honksnonk/5.0") req.Header.Set("Content-Type", theonetruename) zig(keyname, key, req, msg) resp, err := client.Do(req)