lib/angelo.rb in angelo-0.3.2 vs lib/angelo.rb in angelo-0.3.3

- old
+ new

@@ -12,11 +12,10 @@ POST = 'POST' PUT = 'PUT' DELETE = 'DELETE' OPTIONS = 'OPTIONS' - ROUTABLE = [:get, :post, :put, :delete, :options, :websocket] HTTPABLE = [:get, :post, :put, :delete, :options] STATICABLE = [:get, :head] ACCEPT_REQUEST_HEADER_KEY = 'Accept' @@ -57,9 +56,12 @@ UNDERSCORE = '_' DASH = '-' EMPTY_STRING = '' NEWLINE = "\n" + SEMICOLON = ';' + EQUALS = '=' + AMPERSAND = '&' HALT_STRUCT = Struct.new :status, :body SSE_DATA_TEMPLATE = "data: %s\n\n" SSE_EVENT_TEMPLATE = "event: %s\ndata: %s\n\n"