all repos — honk @ 0a5cfa3e6ba65a37f466f206cd04b35191f574fd

my fork of honk

set a user-agent
Ted Unangst tedu@tedunangst.com
Sun, 28 Apr 2019 17:30:32 -0400
commit

0a5cfa3e6ba65a37f466f206cd04b35191f574fd

parent

4eb6a4a578b54d63912faf6dc1aed71bbdfc8c46

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

jump to
M activity.goactivity.go

@@ -131,6 +131,7 @@ at = "application/jrd+json"

} req.Header.Set("Accept", at) req.Header.Set("Accept-Encoding", "gzip") + req.Header.Set("User-Agent", "honksnonk/5.0") resp, err := client.Do(req) if err != nil { return nil, err