This is why we added the systemXHR feature. It enables you to make
cross-origin requests without using CORS. However it's a privileged
API which means that you have to write your app as a packaged app, you
have to use a default CSP policy, and you have to get the app reviewed
and signed my the mozilla marketplace.

/ Jonas

On Thu, Aug 8, 2013 at 6:18 AM,  <[email protected]> wrote:
> hi:
>  use jquery ajax function and set  contentType:'application/json'
> ,the firefox would send OPTIONS method request to server,which try to get 
> access header to judge whether send real request to server.
>
> this feature need server change code.
>
> any possible disable firefox preflight request manner in client side 
> javascript?
>
> I know prflight request  is CORS standard,but for old server programs,disable 
> firefox this feature is
>  option.
>
> thanks.
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to