Skip to content

Test Updates to Align with Header Removal from APIcast Midstream#1029

Open
cathal-bailey wants to merge 2 commits into3scale-qe:mainfrom
cathal-bailey:onfailed-openresty-headers-removed
Open

Test Updates to Align with Header Removal from APIcast Midstream#1029
cathal-bailey wants to merge 2 commits into3scale-qe:mainfrom
cathal-bailey:onfailed-openresty-headers-removed

Conversation

@cathal-bailey
Copy link
Copy Markdown
Collaborator

@cathal-bailey cathal-bailey commented May 1, 2026

  • APIcast midstream update removes the Server header from HTTP responses. This breaks tests that rely on checking headers to confirm APIcast is responding.
  • Update to the backoff mechanism to look for valid response code rather than server header. Ensures backoff logic remains in place and working, in case it is needed.
  • test_do_not_send_openresty_version.py‎ also affected by midstream change.
  • Test now verifies that no server header or version information is disclosed anywhere.

@cathal-bailey cathal-bailey force-pushed the onfailed-openresty-headers-removed branch from 9a1e120 to 33fc4ad Compare May 1, 2026 13:27
@cathal-bailey cathal-bailey marked this pull request as ready for review May 1, 2026 13:28
mdujava
mdujava previously approved these changes May 4, 2026
…n.py to align with header removal in APIcast midstream
@cathal-bailey cathal-bailey changed the title Removing Headers From onfailed Policy Tests Test Updates to Align with Header Removal from APIcast Midstream May 8, 2026
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.

2 participants