Thank for all these great topics, but this is STUPID.

pre-flights are supposed to address security in CROSS ORIGIN RESOURCE SHARING

Cross-origin resource sharing (CORS) is a mechanism that allows restricted 
resources (e.g. fonts, JavaScript, etc.) on a web page 
<http://en.wikipedia.org/wiki/Web_page> to be requested from another domain 
<http://en.wikipedia.org/wiki/Domain_name> outside the domain from which the 
resource originated.[1] 
<http://en.wikipedia.org/wiki/Cross-origin_resource_sharing#cite_note-mozhacks_cors-1>

I don’t understand how app.mydomain.com <http://app.mydomain.com/> and 
api.mydomain.com <http://api.mydomain.com/>  

1-A restricted resource
2- ANOTHER DOMAIN 

Franky Diaz-Trepat
Full Stack Engineer
+1 (720) 295-0592 / 401-1276
skype: franky.diaz.trepat
[email protected]

> On Jun 11, 2015, at 1:10 PM, Sander Elias <[email protected]> wrote:
> 
> Hi Franky,
> 
> Here is an relevant SO 
> <http://stackoverflow.com/questions/12013216/how-to-apply-cors-preflight-cache-to-an-entire-domain>
>  question. It doesn't look to bright tough!
> 
> Regards
> Sander
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "AngularJS" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/angular/8krFnmC_Svs/unsubscribe 
> <https://groups.google.com/d/topic/angular/8krFnmC_Svs/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/angular 
> <http://groups.google.com/group/angular>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to