mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +00:00
Remove unused code.
This commit is contained in:
parent
0d5e666642
commit
a1cfe6bb70
1 changed files with 0 additions and 14 deletions
|
|
@ -152,13 +152,6 @@ class HTTP::Cookie::Scanner < StringScanner
|
||||||
end
|
end
|
||||||
|
|
||||||
def scan_set_cookie
|
def scan_set_cookie
|
||||||
unless block_given?
|
|
||||||
scan_set_cookie { |*values|
|
|
||||||
return values
|
|
||||||
}
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
# RFC 6265 4.1.1 & 5.2
|
# RFC 6265 4.1.1 & 5.2
|
||||||
until eos?
|
until eos?
|
||||||
start = pos
|
start = pos
|
||||||
|
|
@ -221,13 +214,6 @@ class HTTP::Cookie::Scanner < StringScanner
|
||||||
end
|
end
|
||||||
|
|
||||||
def scan_cookie
|
def scan_cookie
|
||||||
unless block_given?
|
|
||||||
scan_cookie { |*values|
|
|
||||||
return values
|
|
||||||
}
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
# RFC 6265 4.1.1 & 5.4
|
# RFC 6265 4.1.1 & 5.4
|
||||||
until eos?
|
until eos?
|
||||||
skip_wsp
|
skip_wsp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue