[TIMOB-17111] iOS: APSHTTPClient should not wrap NSURLResponse
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Matt Langston |
Assignee | Unknown |
Created | 2014-06-10T02:07:04.000+0000 |
Updated | 2018-02-28T20:04:27.000+0000 |
Description
APSHTTPClient should not wrap NSURLResponse. Apple's docs, videos and examples consistently demonstrate and recommend that a url response should be immutable, and that readonly properties should be added to NSURLRequest via subclassing. Additionally, the url response should only include the metadata of the server's response and not the actual data - these two concepts are independent and should be modeled independently (they are currently clubbed together).
No comments