Open thiagowfx opened 9 months ago
cc @sadym-chromium
I read the spec as "if user don't specify status
or headers
, the ones from the original response should be provided". And from the implementation side we should already have the original response status and headers at the point of the response intercepted, so if we want to override only one of them, we provide another with the original value.
I'm not sure what is the question.
This is basically 2). OK. Let me wait for a few more days to see if anyone disagrees.
This is basically 2). OK. Let me wait for a few more days to see if anyone disagrees.
Spec-wise, update the response
has a response
, which is not null in case of continueResponse
, so the further manipulations are done on the original response and override some of the original properties, keeping other in place.
I just learned that CDP does not support executing "continue response" with only one of either
status
orheaders
(c.f. here) i.e. both should be provided.This prompted me to file this issue to request clarification w.r.t. the spec. The questions are:
What is the correct intended / expected behavior here?
cc @juliandescottes @jgraham