how to prevent "Provisional headers are shown" in angularjs ajax call
<p>I am trying to make an ajax call in angularjs application. but randomly i am getting this caution says "Provisional headers are shown" and whenever this caution comes in debugger console I am getting very slow response from server (about 30 to 45 sec). and its happening around 6 times in 10 times trial period. </p>

<p>this is my angularjs piece of code:-</p>

<pre><code>var request = $http({
                  method:"post",
                  url:"/getdata.php",
                  data:filterpara,                              
                  headers: {'Content-Type' : 'application/x-www-form-urlencoded'}                       
            }); 

        request.success(function(data){ 

                    console.log(data);

        });
</code></pre>

<p>This type of piece of code I am using number of times in different controllers. but randomly same issue is coming in different controllers as well. i am unable to figure out why this is happening? </p>

<p>I have also tried the solutions which is already provided by these links (but no luck) :- </p>

<p><a href="https://stackoverflow.com/questions/21630534/node-js-angular-js-caution-provisional-headers-are-shown">Node js / Angular js - CAUTION: Provisional headers are shown</a> (this kind of problem I am facing)</p>

<p><a href="https://stackoverflow.com/questions/21177387/caution-provisional-headers-are-shown-in-chrome-debugger">&quot;CAUTION: provisional headers are shown&quot; in Chrome debugger</a></p>