We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b46fb76 + ea5ef55 commit ae88c5dCopy full SHA for ae88c5d
1 file changed
src/http-context.ts
@@ -48,7 +48,7 @@ export class HttpContext {
48
}
49
50
const { headers, header, url: rawUrl, method: m } = req.json();
51
- const method = m ?? 'GET';
+ const method = m?.toUpperCase() ?? 'GET';
52
const url = new URL(rawUrl);
53
54
const isAllowed = this.allowedHosts.some((allowedHost) => {
0 commit comments