Skip to content

Basic Auth utility feature #42

@joaoqalves

Description

@joaoqalves

Hi,

This library reminds me of how much I love Python's requests. One thing that I miss is a utility to pass a (username, password) pair easily. Something around these lines:

httpclient.WithBasicAuth(username, password).Get(url)

Do you think it's worth implementing? I can submit a PR if you like it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions