Skip to content

node-fetch "title is not a legal HTTP header value" error #3

@vndevil

Description

@vndevil

I have this error when PUT meta title with string unicode (utf-8) with iajs

{
'x-archive-meta0-identifier': 'truyen112313docadasdh-dep-zaai-1-1-1-1',
'x-archive-meta0-title': 'Đây là bài viết thử nghiệm', // this is error unicode
'x-archive-meta0-addeddate': '2022-12-13',
'x-archive-meta0-date': '2022-12-13',
'x-archive-meta0-publicdate': '2022-12-13',
'x-archive-meta0-creator': 'https://truyendocviet.com',
'x-archive-meta0-publisher': 'https://truyendocviet.com',
'x-archive-meta0-licenseurl': 'https://truyendocviet.com',
'x-archive-meta0-language': 'Vietnamese',
'x-archive-meta0-mediatype': 'audio',
'Content-Type': 'application/json; charset=utf-8',
Authorization: 'LOW xxx:xxx'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions