lib/faye/adapters/rack_adapter.rb in faye-1.1.1 vs lib/faye/adapters/rack_adapter.rb in faye-1.1.2
- old
+ new
@@ -235,11 +235,11 @@
end
def handle_options
headers = {
'Access-Control-Allow-Credentials' => 'false',
- 'Access-Control-Allow-Headers' => 'Accept, Content-Type, Pragma, X-Requested-With',
- 'Access-Control-Allow-Methods' => 'POST, GET, PUT, DELETE, OPTIONS',
+ 'Access-Control-Allow-Headers' => 'Accept, Authorization, Content-Type, Pragma, X-Requested-With',
+ 'Access-Control-Allow-Methods' => 'POST, GET',
'Access-Control-Allow-Origin' => '*',
'Access-Control-Max-Age' => '86400'
}
[200, headers, []]
end