Angular 2 HTTP Headers 未添加到请求中

Angular 2 HTTP Headers not being added to request

我有以下 http 请求,我在请求中添加了 header,但是请求失败了,当我查看浏览器的“网络”选项卡时,请求 header 没有t 包括授权 header。我在这里错过了什么?:

  public get(address: string, callback: any): Observable<any> {
    let headers: Headers = new Headers();
    headers.append('Authorization', 'Bearer <token>');
    return this.http.get(address, { 'Headers': headers })
      .map(callback)
      .catch((error: any) => this.handleError(error));
  }

从“网络”选项卡请求 Headers:

GET /v1/projects HTTP/1.1
Host: <host>
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Origin: http://localhost:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Accept: */*
Referer: http://localhost:8080/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8

Headers 应该是 headers

this.http.get(address, { headers: headers })