Skip to content

HTTP server response headers are not cleared between fetches #22

Closed
@anecdata

Description

@anecdata

This issue will probably have to get moved. I'm seeing some interesting behavior with web server response headers, not sure where to put the issue. Somewhere, I don't think it's here in ESP32SPI, but then must be either NINA FW or the depths of CP.

Headers not served by the current server are delivered back to the client. I see this on every HEAD or GET from virtually any site after the first site. After pulling a couple of pages from disparate sources, an accumulation of unique headers from prior server responses are presented to the client in response.headers along with the correct headers from the current site.

Clearing the response in the client using response = None does not clear the headers, the accumulated set of headers is still returned on subsequent calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions