这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion kits/javascript/shims/types/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ import httpStatus from "http-status";
// It contains different helpers
class Response {
constructor(body, options = {}) {
this.body = body;
// Process the body
if (body instanceof String) {
this.body = body.toString();
} else {
this.body = body;
}

if (options.headers instanceof Headers) {
this.headers = options.headers;
Expand Down
Binary file modified kits/javascript/wasm-workers-quick-js-engine.wasm
Binary file not shown.