Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request/Idea: Add new parameter "headers" into :CVocConf #10316

Closed
jeromeroucou opened this issue Feb 12, 2024 · 0 comments · Fixed by #10331
Closed

Feature Request/Idea: Add new parameter "headers" into :CVocConf #10316

jeromeroucou opened this issue Feb 12, 2024 · 0 comments · Fixed by #10331
Labels
Type: Feature a feature request
Milestone

Comments

@jeromeroucou
Copy link
Contributor

jeromeroucou commented Feb 12, 2024

Overview of the Feature Request
The proposal of the issue is to permit HTTP headers customization with external controlled vocabulary services, managed via via the :CVocConf setting. This headers will be used when Dataverse call external vocabulary services (HTTP requests).

What kind of user is the feature intended for?
Sysadmin who configure :CVocConf setting.

What inspired the request?
This is related to issue #9276 and the Google group discussion

What existing behavior do you want changed?
Adding a new parameter headers into JSON configuration of :CVocConf setting, like below :

[{
        "field-name": "compoundDemo",
        "term-uri-field": "compoundDemoTermURI",
        "headers": {"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"},
        "...": "..."
}]

User-Agent is mentioned only for example. The idea is to configure any HTTP headers used in HTTP requests to external vocabulary services.

Any open or closed issues related to this feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature a feature request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants