HEAD requests for documents
This commit is contained in:
@@ -66,6 +66,10 @@ class LiquorCabinet < Sinatra::Base
|
||||
storage.get_data(@user, @directory, @key)
|
||||
end
|
||||
|
||||
head path do
|
||||
storage.get_head(@user, @directory, @key)
|
||||
end
|
||||
|
||||
put path do
|
||||
data = request.body.read
|
||||
|
||||
|
||||
Reference in New Issue
Block a user