Revert "double encoding should be getting fixed, make the default false"
This reverts commit 0fcb7903bb1ad6d1bb19fbf8567a2f63e5c78390.
This commit is contained in:
parent
3faf183cb2
commit
d3c1d0cd04
@ -83,9 +83,7 @@ class SocketEngineTest: XCTestCase {
|
||||
expect.fulfill()
|
||||
}
|
||||
|
||||
engine = SocketEngine(client: client, url: URL(string: "http://localhost")!, config: [.doubleEncodeUTF8(true)])
|
||||
engine.parsePollingMessage("41:42[\"stringTest\",\"lïne one\\nlīne \\rtwo\"]")
|
||||
|
||||
waitForExpectations(timeout: 3, handler: nil)
|
||||
}
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
|
||||
public private(set) var closed = false
|
||||
public private(set) var connected = false
|
||||
public private(set) var cookies: [HTTPCookie]?
|
||||
public private(set) var doubleEncodeUTF8 = false
|
||||
public private(set) var doubleEncodeUTF8 = true
|
||||
public private(set) var extraHeaders: [String: String]?
|
||||
public private(set) var fastUpgrade = false
|
||||
public private(set) var forcePolling = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user