Open
Description
I am using an own testing instance of dataverse with 8080 as HTTP port.
Connecting and creation and listing of dataverses works fine.
host = 'my.server.com:8080'
connection = Connection(host, token, use_https=False)
dataverse = connection.get_dataverse('myverse')
However, when creating a new dataset or listing existing datasets I receive the following error:
datasets = dataverse.get_datasets()
InvalidURL: Failed to parse: 145.100.59.118:8080:8080
For some reason the field:
dataverse.collection.get('href')
'https://my.server.com:8080:8080/dvn/api/data-deposit/v1.1/swordv2/collection/dataverse/userverse'
is not set correctly.
Is it possible to make the port another argument in the class Connection?
Metadata
Metadata
Assignees
Labels
No labels