Description
Previous ID | SR-2118 |
Radar | None |
Original Reporter | @pushkarnk |
Type | Task |
Status | Closed |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | Foundation |
Labels | Task |
Assignee | @pushkarnk |
Priority | Medium |
md5: d7b4af70a262c3b79b923526e988054f
Issue Description:
Pull request 299 contributed an initial implementation of URLSession and friends. Pull request 426 adds support for download and upload tasks, adds support for Ubuntu 14.04 and migrates to the new Dispatch API. The tests contributed as a part of PR 299 are loopback tests (they use an HTTPServer) but use internal types from the URLSession implementation. On Linux, to enable the use of internal types we'd need to build Foundation with the -enable-testing flag which isn't acceptable. So, as a stop gap solution PR 426 currently includes simple tests with external URLs.
This work item is to document the need to write an in-process HTTP server (similar to the one in PR 299) and contribute loopback tests.