vConsole icon indicating copy to clipboard operation
vConsole copied to clipboard

fix: such response type should just return themself not return a string

Open lianghx-319 opened this issue 1 year ago • 3 comments

Why

When my application load .wasm file from xhr, method getResonseByResponseType make respone become a string. I think just return the origin response is make sense.

lianghx-319 avatar May 12 '23 09:05 lianghx-319

CLA assistant check
All committers have signed the CLA.

tencent-adm avatar May 12 '23 09:05 tencent-adm

For a non-string response, it may not be displayed correctly on HTML, so I converted it to a string. If the original response is returned directly, how to ensure that it is displayed correctly in HTML?

Maizify avatar May 22 '23 12:05 Maizify

For a non-string response, it may not be displayed correctly on HTML, so I converted it to a string. If the original response is returned directly, how to ensure that it is displayed correctly in HTML?

But when I request a wasm file, this proxy will make wasm init fail, because the response changed.

lianghx-319 avatar Jun 03 '23 05:06 lianghx-319