Skip to content

304 responses fail with as:'json' interceptor #104

Description

@smurphy917

With an as: 'json' interceptor, Proxy attempts to JSON.parse the response body, regardless of response.statusCode. Ideally, this would be skipped and the interceptor callback would be called with some indication of the 304 status code and response.json as undefined. Even better, would be an interceptor filter on response.statusCode for response and response-sent phases. Just a thought!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions