diff options
Diffstat (limited to 'pkg/origin')
-rw-r--r-- | pkg/origin/origin.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/origin/origin.go b/pkg/origin/origin.go index c354e27..1ada8a3 100644 --- a/pkg/origin/origin.go +++ b/pkg/origin/origin.go @@ -97,6 +97,8 @@ func (c *Client) getUserInfo(retry bool, ctx context.Context, uid ...int) ([]Use } req.Header.Set("AuthToken", sid) + req.Header.Set("X-Origin-Platform", "UnknownOS") + req.Header.Set("Referrer", "https://www.origin.com/") resp, err := c.do(req) if err != nil { |