Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17111] iOS: APSHTTPClient should not wrap NSURLResponse

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMatt Langston
AssigneeUnknown
Created2014-06-10T02:07:04.000+0000
Updated2018-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).

Comments

No comments

JSON Source