lib/firehose/rack.rb in firehose-0.2.alpha.5 vs lib/firehose/rack.rb in firehose-0.2.alpha.6

- old
+ new

@@ -8,10 +8,10 @@ ASYNC_RESPONSE = [-1, {}, []].freeze # Normally we'd want to use a custom header to reduce the likelihood of some # HTTP middleware clobbering the value. But Safari seems to ignore our CORS # header instructions, so we are using 'pragma' because it is always allowed. - LAST_MESSAGE_SEQUENCE_HEADER = 'pragma' + LAST_MESSAGE_SEQUENCE_HEADER = 'Pragma' RACK_LAST_MESSAGE_SEQUENCE_HEADER = "HTTP_#{LAST_MESSAGE_SEQUENCE_HEADER.upcase.gsub('-', '_')}" # Don't cache in development mode CORS_OPTIONS_MAX_AGE = ENV['RACK_ENV'] == 'development' ? '1' : '1728000' # Allows the publisher and consumer to be mounted on the same port.