Skip to content

Commit

Permalink
Added allowed headers to X-domain request
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Gessler committed Apr 28, 2012
1 parent dd59089 commit da778ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/firehose/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def call(env)
cors_headers = {
'Access-Control-Allow-Origin' => env['HTTP_ORIGIN'],
'Access-Control-Allow-Methods' => 'GET',
'Access-Control-Max-Age' => '1728000'
'Access-Control-Max-Age' => '1728000',
'Access-Control-Allow-Headers' => 'Content-Type, User-Agent, If-Modified-Since, Cache-Control'
}

case method
Expand Down

0 comments on commit da778ca

Please sign in to comment.