Skip to content

Specify User-Agent to get over my company's firewall #3628

Closed
@igrep

Description

@igrep

Problem

My colleagues and I are using stack behind a (weirdly) strong firewall, which denies http requests whose User-Agent header and the destination URL match with the preset white list, since the recent change by the infra team.
So I asked the infra team to add stack and s3.amazonaws.com (and so on) to the white list, but he declined because stack accesses to various domains without any User-Agent header!!

Solution

If you don't have a problem, I'll make a PR to add some User-Agent header ("The Haskell Stack" looks good.
So can you tell me where I should fix?

Version of stack I'm using

> stack --version
Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e x86_64 hpack-0.17.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions