Skip to content

If a response has a status code of 204, should not attempt to parse the response #11

Open

Description

@dkurtz28

Raises an "Unexpected end of input" error.

Activity

  1. alexmngn commented on Nov 15, 2016

    @alexmngn

    I have the same issue when the server returns status code 201

  2. ernstki commented on Feb 6, 2017

    @ernstki

    The error in the Firefox developer console is "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data." But yeah, same problem.

  3. shanewholloway commented on May 12, 2017

    @shanewholloway

    Looks like this was fixed in 07f7f11

  4. dave-burke commented on Jul 16, 2017

    @dave-burke

    I'm noticing that the change in 07f7f11 is not in the minified version (search for "204" and you won't find it). This caused me quite a bit of confusion when I could never duplicate this issue when I tried to debug it with the non-minified version! Could this be resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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