• Seth Hoenig's avatar
    jobspec: add support for headers in artifact stanza · 6c757863
    Seth Hoenig authored
    This PR adds the ability to set HTTP headers when downloading
    an artifact from an `http` or `https` resource.
    
    The implementation in `go-getter` is such that a new `HTTPGetter`
    must be created for each artifact that sets headers (as opposed
    to conveniently setting headers per-request). This PR maintains
    the memoization of the default Getter objects, creating new ones
    only for artifacts where headers are set.
    
    Closes #9306
    6c757863