Skip to content
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

Fix for headers handling in filters #294

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Conversation

freaz
Copy link
Member

@freaz freaz commented Oct 13, 2022

Description

Added set of helper functions to work with headers in interpreter.

Best would be to switch to Headers which isn't available for not until 18.0.0. But I wanted to avoid bigger refactoring and implementing own Headers class.

Motivation and Context

In #290 was fixed how accept header is set. This extends it to entire headersFilter.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have updated the documentation accordingly. If you are changing code related to user secrets you need to really make sure that security documentation is correct.
  • I have read the CONTRIBUTING document.
  • I haven't repeated the code. (DRY)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@freaz freaz force-pushed the fix/working_with_headers_interpreter branch from 7554246 to f3a860f Compare October 13, 2022 12:10
@freaz freaz marked this pull request as ready for review October 13, 2022 12:11
@freaz freaz merged commit 0e10a66 into dev Oct 13, 2022
@freaz freaz deleted the fix/working_with_headers_interpreter branch October 13, 2022 13:14
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