Skip to content

Save headers error with resource decorator #61

@aymericdo

Description

@aymericdo

Make sure you are running the latest version of TinyWeb before reporting an issue.

Device and/or platform:
Raspberry Pico

Description of problem:
When I use "save_headers" params in @app.resource, it cause an error because save_headers params are not following here https://github.com/belyalov/tinyweb/blob/master/tinyweb/server.py#L631

Expected:
We should be able to use this param with the resource decorator and why not, having back the list of those headers in the data response.

Additional info:
Capture d’écran 2024-05-14 à 17 57 18

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