Skip to content

fetchDataset in FetchUtil gives error for content-type text/turtle; charset=UTF-8 #995

Closed

Description

@woutslabbinck

When fetching a dataset that is hosted with content-type text/turtle, fetchDataset gives following error Unrecognized media type: text/turtle; charset=UTF-8.

Activity

  1. RubenVerborgh commented on Oct 13, 2021

    @RubenVerborgh
    Member

    and while we're at it, make that

    /^\s*[^;\s]*/u.exec(contentType)![0]; 
  2. woutslabbinck commented on Oct 13, 2021

    @woutslabbinck
    MemberAuthor

    Sure, I am on it.

  3. added a commit that references this issue on Oct 13, 2021
    2405eea
  4. added a commit that references this issue on Oct 15, 2021
    ede55ae
  5. RubenVerborgh commented on Nov 1, 2021

    @RubenVerborgh
    Member

    Seems to also solve this one for me (which occurred on v2.0.0 but not on latest main)

    Screen Shot 2021-10-29 at 15 10 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions