mirror of
https://github.com/lloeki/nanoserve.git
synced 2025-12-06 11:14:40 +01:00
Privatise parse methods
This commit is contained in:
parent
df5525854e
commit
5c1717d8ee
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ module NanoServe
|
|||
@sep
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
REQ_RE = %r{(?<method>[A-Z]+)\s+(?<path>\S+)\s+(?<version>HTTP/\d+.\d+)$}
|
||||
|
||||
def parse_request(str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue