summaryrefslogtreecommitdiff
path: root/cli/js/40_testing.js
diff options
context:
space:
mode:
authorFelipe Baltor <fbaltor@gmail.com>2023-07-30 10:13:28 -0300
committerGitHub <noreply@github.com>2023-07-30 09:13:28 -0400
commit3cb260ed15a26785272bb09427504a565010963d (patch)
treecc29322017d235d3d56c75240eab1ce9f1f8be76 /cli/js/40_testing.js
parentcfdef0c38038e42a4ac40f6e962c5e40a0c5cbe6 (diff)
fix(Deno.serve): accessing .url on cloned request throws (#19869)
This PR fixes #19818. The problem was that the new InnerRequest class does not initialize the fields urlList and urlListProcessed that are used during a request clone. The solution aims to be straightforward by simply initializing the missing properties during the clone process. I also implemented a "cache" to the url getter of the new InnerRequest, avoiding the cost of calling op_http_get_request_method_and_url.
Diffstat (limited to 'cli/js/40_testing.js')
0 files changed, 0 insertions, 0 deletions