bugfix
This commit is contained in:
parent
3caea6bc6e
commit
3c0aa87530
@ -328,6 +328,7 @@ bricks.buildUrlwidgetHandler = function(w, target, rtdata, desc){
|
||||
params.append(key, value);
|
||||
}
|
||||
options.params = params;
|
||||
options.method = "POST";
|
||||
} else {
|
||||
rtdata = bricks.extend(rtdata, desc.event_params);
|
||||
options = bricks.apply_data(options, rtdata);
|
||||
|
@ -187,11 +187,18 @@ bricks.HttpText = class {
|
||||
}
|
||||
}
|
||||
|
||||
bricks.HttpBin = class extends bricks.HttpText {
|
||||
bricks.HttpArrayBuffer = class extends bricks.HttpText {
|
||||
async get_result_data(resp){
|
||||
return await resp.blob()
|
||||
return await resp.arrayBuffer();
|
||||
}
|
||||
}
|
||||
|
||||
bricks.HttpBin = class extends bricks.HttpText {
|
||||
async get_result_data(resp){
|
||||
return await resp.blob();
|
||||
}
|
||||
}
|
||||
|
||||
bricks.HttpResponse = class extends bricks.HttpText {
|
||||
async get_result_data(resp){
|
||||
return resp;
|
||||
|
Loading…
Reference in New Issue
Block a user