-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update: Changing on Dependencies #4
Changes from all commits
47e9170
26037a2
25cf4ed
d5e3b91
5dc2158
aab56c8
4d02acf
c2659ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,7 +321,7 @@ export class Context { | |
this.res = new Response(jsonData, { | ||
status: status || this.res.status, | ||
headers: { | ||
...this.res.headers.toJSON(), | ||
...Object.fromEntries(this.res.headers), | ||
"Content-Type": "application/json", | ||
}, | ||
}); | ||
|
@@ -371,7 +371,7 @@ export class Context { | |
public getResWithoutBody(): Response { | ||
return new Response(null, { | ||
status: this.res.status, | ||
headers: this.res.headers, | ||
headers: Object.fromEntries(this.res.headers), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same above |
||
}); | ||
} | ||
|
||
|
@@ -400,7 +400,7 @@ export class Context { | |
this.res = new Response(data, { | ||
status: status || this.res.status, | ||
headers: { | ||
...this.res.headers.toJSON(), | ||
...Object.fromEntries(this.res.headers), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same above |
||
"Content-Type": contentType, | ||
}, | ||
}); | ||
|
@@ -426,7 +426,7 @@ export class Context { | |
this.res = new Response(data, { | ||
status: status || this.res.status, | ||
headers: { | ||
...this.res.headers.toJSON(), | ||
...Object.fromEntries(this.res.headers), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same above |
||
"Content-Type": contentType, | ||
}, | ||
}); | ||
|
@@ -452,7 +452,7 @@ export class Context { | |
this.res = new Response(data, { | ||
status: status || this.res.status, | ||
headers: { | ||
...this.res.headers.toJSON(), | ||
...Object.fromEntries(this.res.headers), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same above |
||
"Content-Type": contentType, | ||
}, | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same above