Skip to content

Why is WebRequest.defaultResponseContentCharset_ transient? #898

@RuralHunter

Description

@RuralHunter

I serialized a WebRespose object to file. After loading it back, I found response.getContentCharset() returns null. I tracked the problem and found it's because of transient defaultResponseContentCharset_ in WebRequest. Why is this transient? The same question maybe apply on WebRequest.charset_ too.

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