Because I am trying to simulate 103 Early Hints, when I receive the root request I immediately send an Early Hint response to the browser by calling request.respond(), then the code tries to continue, hoping the request would be forwarded to the web server and get a reply back as usual. But I got the "
Request is already handled! exception" because request.respond() has already been called. The issue is mentioned in this link:
https://pptr.dev/guides/request-interception.
Does anyone know if is possible to workaround this restriction that a request can only handled once or send multiple responses to a single request? Essentially, I want to simulate 103 Early Hints in our test environment. Any solution would be acceptable.
Thanks!!!