Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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](encode/starlette@0.27.0...0.28.0#diff-87bccafe494bc79680d9d8f57ea797733354b076aa411c0e2bd63f5b4039f71fR51-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.
- Loading branch information