lib/angelo.rb in angelo-0.1.15 vs lib/angelo.rb in angelo-0.1.16
- old
+ new
@@ -12,11 +12,11 @@
POST = 'POST'
PUT = 'PUT'
DELETE = 'DELETE'
OPTIONS = 'OPTIONS'
- ROUTABLE = [:get, :post, :put, :delete, :websocket]
- HTTPABLE = [:get, :post, :put, :delete]
+ ROUTABLE = [:get, :post, :put, :delete, :options, :websocket]
+ HTTPABLE = [:get, :post, :put, :delete, :options]
STATICABLE = [:get, :head]
CONTENT_TYPE_HEADER_KEY = 'Content-Type'
CONTENT_DISPOSITION_HEADER_KEY = 'Content-Disposition'
CONTENT_LENGTH_HEADER_KEY = 'Content-Length'