Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16275] NSURLConnection: Cookie Management

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-03-18T19:11:54.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 06, 2014 Sprint 06 SDK, Release 3.3.0
ComponentsiOS
Labelsqe-closed-3.3.0, qe-testadded
ReporterPedro Enrique
AssigneePedro Enrique
Created2014-01-21T20:31:09.000+0000
Updated2014-04-25T23:24:10.000+0000

Description

Implement Cookie Management System for NSURLConnection

Make sure by default all cookies are placed in the shared webview cookie Storage

Include Test case as well

Comments

  1. Vishal Duggal 2014-03-11

    This ticket is to implement the Ti.Network.Cookie Proxy and associated management methods on the Network Module. Associated iOS Classes NSHTTPCookie NSHTTPCookieStorage Once this is done we can deprecate the method in the HTTPClient Proxy
  2. Pedro Enrique 2014-03-17

    PR here: https://github.com/appcelerator/titanium_mobile/pull/5466 Test case here: https://gist.github.com/pec1985/7b8e4751ea9289d122e3
  3. Olga Romero 2014-04-25

    Using the above test case , verified the fix with: Appcelerator Studio, build: 3.3.0.201404221437 Titanium SDK, build 3.3.0.v20140424130915 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.14 ├── alloy@1.4.0-dev ├── node-appc@0.2.2 ├── npm@1.3.2 ├── titanium@3.3.0-dev └── titanium-code-processor@1.1.1-beta1 npm -g ls titanium: /usr/local/lib └── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422) XCode Version: 5.1.1 Device: iPhone 5S iOS 7.0 iOS 7.1 Simulator

JSON Source