Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Promisse fails when response has no content type. #39

@nurv

Description

@nurv

When calling DELETE django rest framework using core api, it throws an exception.

The cause for this is that DRF removed the header for content type on 204 responses. In this line the result from calling get over the Headers object when that header doesn't exist is null. However in this line the check is made for undefined not null. This check fails, causing it to fail in this line by dereferencing null.

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