-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello!
In file https://github.com/comapi/comapi-sdk-js/blob/master/src/profile.ts#L126 you often get etag using following code:
this._localStorage.setString("MyProfileETag", Utils.getHeaderValue(result.headers, "ETag"));
// where this util method implemented like:
public static getHeaderValue(headers: Object, key: string) {
return headers[key] || headers[key.toLowerCase()];
}Here you are trying to get it by keys ETag or etag, but both of those fail because you server return it as Etag(see small t):

Because of this ETag value always undefined and depending on localStorageData implementation fails during request (or just always ignored)
Metadata
Metadata
Assignees
Labels
No labels