Repository navigation
Support customizing “Accept” header #1428
Description
Activity
- addedkind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
on Apr 26, 2021 /help
@roycaihw:
This request has been marked as needing help from a contributor.Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the/remove-helpcommand.Details
In response to this:
/help
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
- addedhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
on Apr 26, 2021 /assign
Reacted by Haowei Cai (Roy)- addedgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
on Apr 26, 2021 Opened a PR- kubernetes-client/python-base#236 to accept the header.
@Yashks1994 Could you run https://github.com/kubernetes-client/python/blob/master/devel/submodules.md#update-submodule to update the submodule, so that kubernetes-client/python-base#236 is included in the main repo?
What is the feature and why do you need it:
From a conversation in slack. Kubernetes client-go has a metadata client that only retrieves object metadata from the API server. It helps in scenarios where the user only cares about object metadata and wants to reduce the client-side deserialization time. The easiest way to support this feature in the Python client is to do it in the dynamic client.
Describe the solution you'd like to see:
The dynamic client hard-codes the Accept header. We can have a new parameter to allow overwriting the value like how the metadata client does:
The solution should be e2e tested.