Skip to content

Commit

Permalink
note X-Requested-With header in pod
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Sep 21, 2010
1 parent f6cbfaa commit 5b298d5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/Plack/Middleware/CrossOrigin.pm
Expand Up @@ -136,12 +136,15 @@ to allow XMLHttpRequests across domains.
=item origins
A list of allowed origins. '*' can be specified to allow access from
any origin.
A list of allowed origins. '*' can be specified to allow access
from any origin.
=item headers
A list of allowed headers. '*' can be specified to allow any headers.
A list of allowed headers. '*' can be specified to allow any
headers. Many AJAX frameworks add the C<X-Requested-With> header to
requests they make, so it is recommended that at least header be
allowed.
=item methods
Expand Down

0 comments on commit 5b298d5

Please sign in to comment.