Missing response headers onCompleteItem #1085

Open
opened 2019-04-10 13:20:54 +00:00 by Stychlok · 1 comment
Stychlok commented 2019-04-10 13:20:54 +00:00 (Migrated from github.com)

Hey there,

I'm trying to check some response headers that are being returned by my file vault service which I am uploading to.
In developer console I can see all the response headers. But in the onCompleteItem-method there are only a few of them. Any chance to get all the headers?

Developer console:
grafik

Console log using:
this.uploader.onCompleteItem = (item: FileItem, response:any, status:any, headers:any) => { console.log('ImageUpload:uploaded:', item, status, headers); };

grafik

Any ideas?
I need to check the ice_status header

Hey there, I'm trying to check some response headers that are being returned by my file vault service which I am uploading to. In developer console I can see all the response headers. But in the onCompleteItem-method there are only a few of them. Any chance to get all the headers? **Developer console:** ![grafik](https://user-images.githubusercontent.com/36186997/55881913-d736cb00-5ba3-11e9-984b-2c76c64963b0.png) **Console log using:** `this.uploader.onCompleteItem = (item: FileItem, response:any, status:any, headers:any) => { console.log('ImageUpload:uploaded:', item, status, headers); };` ![grafik](https://user-images.githubusercontent.com/36186997/55882017-0fd6a480-5ba4-11e9-999d-01a83357d358.png) Any ideas? I need to check the ice_status header
silnose commented 2021-02-19 19:24:57 +00:00 (Migrated from github.com)

+1

+1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1085