all repos — honk @ 0dcebeece188647248925e404ff1d82b904f203c

my fork of honk

user-agent for posts as well
Ted Unangst tedu@tedunangst.com
Mon, 20 May 2019 10:48:42 -0400
commit

0dcebeece188647248925e404ff1d82b904f203c

parent

97e5aea73049a6793425d34bda95551f507aeacb

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.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)