push
github
Deepcopy only headers in validator (#1710) Fixes the failing pipeline. I don't understand the underlying issue completely, but It's related to [this code](https://github.com/encode/starlette/compare/0.27.0...0.28.0#diff-87bccafe4aa411c0e2bd63f5b4039f71fR51-R54) added in starlette 0.28. This makes the scope unpicklable in some cases, leading to an error when trying to deepcopy it. I replaced the deepcopy of the whole scope with just a deepcopy of the headers, since this is the only part we're chaning.
2 of 2 new or added lines in 1 file covered. (100.0%)
15 existing lines in 1 file now uncovered.3348 of 3560 relevant lines covered (94.04%)
3.76 hits per line