Skip to content

XMLHttpRequest': The response type cannot be set after the request has been sent #1114

Closed
@wangzhiqiang1975

Description

@wangzhiqiang1975

Note: for support questions, please use one of these channels: stackoverflow or slack

You want to:

  • report a bug
  • request a feature

Current behaviour

When I use React-Native 0.4.4 and socket.io-client testing remote message ,program can be connected server and get json string ,but system error "XMLHttpRequest': The response type cannot be set after the request has been sent

Steps to reproduce (if the current behaviour is a bug)

Note: the best way to get a quick answer is to provide a failing test case, by forking the following fiddle for example.

Expected behaviour

Setup

  • OS:Mac os 10.12.5
  • browser: IOS10.1 Simulator
  • socket.io version:2.0.1

2017-05-16 22 15 33

Other information (e.g. stacktraces, related issues, suggestions how to fix)

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