Skip to content

WebResponse.getContentAsStreamWithBomIfApplicable() overriding is missing in WebResponseWrapper #471

@RuralHunter

Description

@RuralHunter

This causes css cache loading error. In CssStyleSheet, if the response is from cache, then the response is a WebResponseWrapper(extended from WebResponseWrapper) instance. Since the method getContentAsStreamWithBomIfApplicable() is not overriden in WebResponseWrapper, it actually calls the WebResponse.getContentAsStreamWithBomIfApplicable() which always returns null because it's only an empty delegator.

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