Skip to content

Default change_headers_on_each_request to false #76

@mcelicalderon

Description

@mcelicalderon

DTA's default configuration to change headers on each request might be too much as the most common scenario is to save tokens that will last longer than a single request. We can't change DTA (or maybe propose they change the default with a PR). But at least for this gem I propose the generator sets change_headers_on_each_request = false by default. WDYT, @00dav00 ?

Context

#73 shows this can happen. For me it's also more easy to assume tokens shouldn't expire on each request by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions