Skip to content

RSS feed with application/rss+xml returned as Blob instead of text #597

Description

@dword-design

Environment

ofetch@1.5.1
node@22.21.1 (but not relevant)

Reproduction

I think it's obvious because the mime type is not part of textTypes.

Describe the bug

ofetch detects the return type from the content-type response header. It works for application/xml, but application/rss+xml is not in the set of text content types.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions