qwik icon indicating copy to clipboard operation
qwik copied to clipboard

response.error in onPut has no effect

Open strowk opened this issue 3 years ago • 1 comments

Qwik Version

0.9.0

Operating System (or Browser)

Windows 11

Node Version (if applicable)

v16.14.0

Which component is affected?

Qwik Runtime

Expected Behaviour

Calling response.error in onPut method should result in corresponding error code returned from PUT call

Actual Behaviour

response.error has no effect

Additional Information

No response

strowk avatar Oct 01 '22 02:10 strowk

Note: I also tried response.redirect, it does set "location" header, but does not set status code

strowk avatar Oct 01 '22 02:10 strowk