Hi Sander.  Thanks for your reply.

Yes I checked it.  The request headers look like this

   1. Accept:
   application/json
   2. Accept-Encoding:
   gzip,deflate,sdch
   3. Accept-Language:
   en-US,en;q=0.8
   4. Connection:
   keep-alive
   5. Content-Length:
   0
   6. Content-Type:
   application/json;charset=utf-8
   7. Cookie:
   YII_CSRF_TOKEN=2f46d7ca1bcb34391b05ee725d9a4f2c1aa239c1; 
   PHPSESSID=rh35360djgdf4aq11uflhunjt4
   8. Host:
   127.0.0.1:8044
   9. Origin:
   http://127.0.0.1:8044
   10. Referer:
   http://127.0.0.1:8044/app/
   11. User-Agent:
   Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
   Chrome/33.0.1750.152 Safari/537.36
   12. X-CSRFToken:
   2f46d7ca1bcb34391b05ee725d9a4f2c1aa239c1
   13. X-Requested-With:
   XMLHttpRequest
   

In particular the Content-Length is 0, and I don't see any payload/request 
body.
Also, the last two headers I set explicitly by overriding 
$http.defaults.headers

-- 
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