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
[x] 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:
[x] 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.
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
Checklist: