Skip to content

modify http headers #414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 7, 2023
Merged

modify http headers #414

merged 14 commits into from
Jun 7, 2023

Conversation

RomanBelozerov
Copy link
Contributor

@RomanBelozerov RomanBelozerov commented Mar 2, 2023

@RomanBelozerov RomanBelozerov linked an issue Mar 2, 2023 that may be closed by this pull request
10 tasks
@RomanBelozerov RomanBelozerov force-pushed the rb-409-modify-http-headers branch from 42bc1c9 to 1240d21 Compare May 10, 2023 08:02
@RomanBelozerov RomanBelozerov marked this pull request as ready for review May 10, 2023 08:18
@RomanBelozerov RomanBelozerov requested a review from const-t May 10, 2023 08:23
…sts.

Now all tests are inherited from base class - AddHeaderBase.

These directives and other config tests are separated.
- set large header;
- multiple appending to same header;
- multiple replacing;
- add header from static table;
- add header from dynamic table;
- test_overwrite_non_singular_header - singular header must not change.
- other - added more checks.
Added tests:
- adding non-exist header for `..._hdr_add`;
- removing one and many headers;
- removing special headers;
- removing non-exist header;
- h2 request tests with dynamic table;
Removed  `test_multiple_replacing_same_header`, `test_overwrite_non_singular_header`, `test_overwrite_singular_header`, `test_overwrite_raw_header` tests because now it is low priority logic.
`test_add_some_hdrs` is duplicate.Removed.
@RomanBelozerov RomanBelozerov force-pushed the rb-409-modify-http-headers branch from 99509d5 to 955f479 Compare May 31, 2023 13:28
@RomanBelozerov RomanBelozerov merged commit c1b41a0 into master Jun 7, 2023
@RomanBelozerov RomanBelozerov deleted the rb-409-modify-http-headers branch June 7, 2023 16:26
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.

Tests for resp_hdr_add and resp_hdr_set
2 participants