Skip to content

Headers as part of Client #600

@RozeFound

Description

@RozeFound

For example, i have the code: https://pastebin.com/8tRuhSUn
And i really don`t think that downloadFile func need to care about headers.

With headers as part of Client the following functions will have view like:

main() {
   Client session(scheme_host);
   session.headers = {...};

   someFunc(session); //etc
}

Seens much better, you don't think so?

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