SES-2043 : Check for JSONP before Accept to work with Chrome/Angular

Merged
#269 · Created  · Last updated

Merged pull request

Merged in SES-2043 (pull request #269)

028a7cf·Author: ·Closed by: ·2014-04-14

Description

Chrome, with Angular at least, seems to send Accept / for JSONP requests instead of the typical "application/javascript" and hence the callback parameter needs to be checked before the Accept header to be successful.

0 attachments

0 comments

Loading commits...