Skip to content

Commit d2ccdb4

Browse files
authored
Merge pull request #2478 from karl-cardenas-coding/fetch_limitation
docs: update known issues related to duplicate header keys issue
2 parents 589fcf4 + cfb5055 commit d2ccdb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Key:
143143
Credentials are cached based on the kubeconfig username and these can collide across configs.
144144
Here is the related [issue](https://github.com/kubernetes-client/javascript/issues/592).
145145

146+
- In scenarios where multiple headers with the same key are required in a request, such as `Impersonate-Group`, avoid using `fetch`. Fetch will merge the values into a single header key, with the values as a single string vs a list of strings, `Impersonate-Group: "group1,group2"`. The workaround is to use a low-level library such as `https` to make the request. Refer to issue [#2474](https://github.com/kubernetes-client/javascript/issues/2474) for more details.
147+
146148
# Development
147149

148150
All dependencies of this project are expressed in its

0 commit comments

Comments
 (0)