test: Add tests for add/remove header after sent.
Checklist
-
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test, http
Description of change
This change adds tests to make sure an Error is thrown if a header is added or removed after they are sent.