mirror of
https://github.com/lloeki/nanoserve.git
synced 2025-12-06 11:14:40 +01:00
Normalize request method verb
This commit is contained in:
parent
8f20ccdd60
commit
dc8739c692
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ module NanoServe
|
||||||
end
|
end
|
||||||
|
|
||||||
def parse_method(str)
|
def parse_method(str)
|
||||||
str
|
str.upcase
|
||||||
end
|
end
|
||||||
|
|
||||||
def parse_path(str)
|
def parse_path(str)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue