FLEXTool/FLEX

Empty response for async bytes

Open

#646 opened on Jan 12, 2023

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Objective-C (14,597 stars) (1,777 forks)batch import
bughelp wanted

Description

Environment

  • Platform+version: iOS 16.1.2
  • FLEX version: 5.22.10

Bug Report

I checked the FLEX networking debugger and requests that I make appear with empty response. That is not correct since I'm getting the data that is displayed on the app. I looked into similar issues mentioned in #603 and #611 but I'm not using firebase so it's not related. I do networking using concurrency so perhaps that could be part of an issue with FLEX. URLSession with bytes(for request: URLRequest, delegate: URLSessionTaskDelegate?) to be specific.

Mechanism in network history is listed as

NSURLSessionDataTask (delegate: _TtC10FoundationP33_1935C07EE287982D980AA89BB85ACEFA28URLSessionAsyncBytesDelegate)

Contributor guide