Skip to content

Cache write is failing when converting ASCII-8BIT characters to UTF-8 #38

@salbertson

Description

@salbertson

I'm getting a Encoding::UndefinedConversionError exception when trying to cache GitHub responses. Some responses will be cached, but some will fail to write because of an encoding conversion issue.

I'm using faraday 0.8.8 and faraday-http-cache 0.4.0 and here's the backtrace.

Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    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