---
title: "Angularjs Response Headers 只有content-type"
author: "矮蛋蛋"
date: "2015-10-28T17:39:00Z"
tags: []
categories: ["Web前端"]
slug: "angularjs-response-headers-content-type"
draft: false
lastmod: "2015-10-28T17:39:00Z"
id: 2252761
url: "https://aidandan.iteye.com/blog/2252761"
---

<http://stackoverflow.com/questions/22064288/angularjs-http-response-header>
The custom headers will be visible in same domain. However, for the crossdomain situation, the server has to send Access-Control-Expose-Headers: X-Foo, ... header to make the custom headers visible.