How can I prevent SuperAgent AJAX from calling OPTIONS?

I found the source of my problem for SuperAgent (http://visionmedia.github.com/superagent/) in Firefox. Not sure if SuperAgent does this in its AJAX call or if FireFox launches it.

Essentially, every time I make an AJAX call, the OPTIONS method is launched before the actual AJAX call. Pretty annoying as the server does not currently support OPTIONS. How can I call if I’m going to iterate over and transcode the server?

thank

+5
source share
2 answers

Well found out some details. Fortunately, testing on Safari gave me more information about what is actually happening, and I applied my knowledge here.

, , OPTIONS, AJAX. .

, , - , OPTIONS. :

! 2.0 OPTIONS ?

, , . :

OPTIONS GET?

OPTIONS CORS.

+5

web-secuty phantomjs (- web-security = no). API OPTION.

0

All Articles