projects
/
feedcatcher.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Deleted unused ./test directory
[feedcatcher.git]
/
rack
/
head.rb
1
module
Rack
2
3
class
Head
4
def
initialize
(
app
)
5
@app
=
app
6
end
7
8
def
call
(
env
)
9
status
,
headers
,
body
=
@app
.
call
(
env
)
10
11
if env
[
"REQUEST_METHOD"
] ==
"HEAD"
12
[
status
,
headers
, []]
13
else
14
[
status
,
headers
,
body
]
15
end
16
end
17
end
18
19
end