docs(MIGRATION): fix req.raw.headers reference (property, not method) (#5047)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
req.raw is a Fetch API Request, whose headers/body/bodyUsed/integrity/ keepalive/referrer/signal are properties, not methods. The v4 migration guide showed eq.raw.headers(), which throws TypeError: ... is not a function. Use the property eq.raw.headers and refer to them as properties rather than methods.
authored by EduardF1 · committed by GitHub · parent 03a9416 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed