Skip to content

Commit 9f41962

Browse files
author
David Heinemeier Hansson
authored
Merge pull request #5 from excid3/uppercase-method-name
Uppercase method name
2 parents 529f25a + 69496a3 commit 9f41962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class Request {
1919

2020
get fetchOptions () {
2121
return {
22-
method: this.method,
22+
method: this.method.toUpperCase(),
2323
headers: this.headers,
2424
body: this.body,
2525
signal: this.signal,

0 commit comments

Comments
 (0)