Skip to content

Workaround deprecated 1.2 API#45

Open
assiotis wants to merge 1 commit intodatabricks:masterfrom
assiotis:workaround_broken_1.2_api
Open

Workaround deprecated 1.2 API#45
assiotis wants to merge 1 commit intodatabricks:masterfrom
assiotis:workaround_broken_1.2_api

Conversation

@assiotis
Copy link

The DBC 1.2 REST API has been deprecated and some of the functionality stopped working. Some of the endpoints that used to return 4xx unauthorized responses, now may return 500. Unfortunately, that means
that the Apache HTTP Client does not attempt to authenticate using theAuthorization header (basic HTTP auth), because by design it does not pass that header unless challenged. To fix that, we pass the context
around that contains a credentials cache.

The DBC 1.2 REST API has been deprecated and some of the functionality
stopped working. Some of the endpoints that used to return 4xx
unauthorized responses, now may return 500. Unfortunately, that means
that the Apache HTTP Client does not attempt to authenticate using the
Authorization header (basic HTTP auth), because by design it does not
pass that header unless challenged. To fix that, we pass the context
around that contains a credentials cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant