if (response.status >= 400 && response.status < 500) {
console.log(response.headers());
The above code works in firefox and lists header collections, but chrome
returns empty(below is from chrome console). Just wondering if there is a
bug in angularJS. Please note that this is my first angular project.
1. HTTP/1.1 400 Bad Request Strict-Transport-Security: max-age=31536000
; includeSubDomains Content-Type: application/json
2. message: wrong request
3. Access-Control-Expose-Headers: AuthToken, message,
AnotherCustomHeader Content-Length: 239 Server: Jetty(8.1.14.v20131031)
Thanks
--
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/groups/opt_out.