Skip to content

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

Open

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions