skip to Main Content

Custom header is being stripped out – Apache

I'm passing a custom X-Authorization header to my API. In my API, I'm allowing the header like so: header('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With, X-Authorization'); I'm checking the headers using print_r(apache_request_headers()) The only reference to X-Authorization in the response is: [access-control-request-headers] =>…

VIEW QUESTION

Content type of main-es2015 – CentOS

I am using Angular 9.1.3 as framework and apache as server for my app. After building new version of angular application I've started receiving this error in chrome: Failed to load module script: The server responded with a non-JavaScript MIME…

VIEW QUESTION

CSP Header and Cross domain Ajax call – Jquery ajax

my server (my.server.com) produces a HTML page that call another service (external.server.com) for load data. For the ajax call i'm using jquery. $.ajax({ url:"https://external.server.com/check", dataType: 'get', success:function(json){ // do stuff with json (in this case an array) $("userContainer").append(json); }, error:function(){…

VIEW QUESTION
Back To Top
Search