Skip to content

Conversation

tim-schilling
Copy link
Member

Chromium throws an uncatchable warning when a header that
can't be accessed is used. While it's not problematic, it's
worrisome to developers. This avoids that by first checking
that it exists.

Fixes #1647

  • Change header to djdt-store-id.
  • Includes some tests to validate the HistoryPanel.get_headers
  • method.
  • Correct OBSERVE_REQUEST_CALLBACK default value in docs.

Chromium throws an uncatchable warning when a header that
can't be accessed is used. While it's not problematic, it's
worrisome to developers. This avoids that by first checking
that it exists.

Fixes #1647
Includes some tests to validate the HistoryPanel.get_headers
method.
@matthiask
Copy link
Member

LGTM, let's merge this despite the test failures (which are unrelated and have been happening for some time -- something changed re. selenium, I didn't take the time yet to investigate)

@matthiask matthiask merged commit a5ff45d into django-commons:main Jul 12, 2022
@tim-schilling tim-schilling deleted the auto-update-1647 branch October 13, 2022 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refused to get unsafe header "djdt-store-id"
2 participants