{ "id": "78024", "key": "TIMOB-5232", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2011-07-20T12:35:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ajax", "file", "tbs-future", "upload" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-18T22:53:17.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "In [TiNetworkHTTPClientProxy.m|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiNetworkHTTPClientProxy.m], the \"send\" method currently uses the setFile and setData methods of the \"ASIFormDataRequest\" object for POST'ing files/images (TiBlob) via Ajax. The SDK should support posting multiple files/images (TiBlob) to the same POST parameter (e.g., http://example.com?file=image1.jpg&file=image2.jpg&file=image3.jpg). \r\n\r\nThis could be accomplished by using the addData and addFile methods of the \"ASIFormDataRequest\" class instead.", "attachment": [], "flagged": false, "summary": "Allow HTTP POST of multiple files to the same parameter", "creator": { "name": "joshn@congoo.com", "key": "joshn@congoo.com", "displayName": "Josh Nicholson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshn@congoo.com", "key": "joshn@congoo.com", "displayName": "Josh Nicholson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* iOS", "comment": { "comments": [ { "id": "160469", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Josh\r\n\r\nThe link is broken. Please correct, so that we can move this ticket to the correct project.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-25T08:31:20.000+0000", "updated": "2011-07-25T08:31:20.000+0000" }, { "id": "160470", "author": { "name": "joshn@congoo.com", "key": "joshn@congoo.com", "displayName": "Josh Nicholson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The link is not a real link. It was just an \"example\" (hence, www.example.com). My point was to illustrate an example query string where you might post different values (for example, image files) using the same parameter (in my example, \"file\").\r\n\r\nThank you.", "updateAuthor": { "name": "joshn@congoo.com", "key": "joshn@congoo.com", "displayName": "Josh Nicholson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-25T08:40:01.000+0000", "updated": "2011-07-25T08:40:01.000+0000" }, { "id": "165209", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "heh, good point! :) I will move the ticket now.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-09-07T07:47:28.000+0000", "updated": "2011-09-07T07:47:28.000+0000" }, { "id": "165360", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Josh\r\n\r\nI am fairly certain that this will be rejected, because it's highly unlikely that a mobile device, with limited bandwidth available, will overwhelm a single connection to a server. Hence concurrent uploads to a host would not really be wise. However, I have moved this to the main project to allow the core team to make the final decision.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-09-08T08:59:48.000+0000", "updated": "2011-09-08T08:59:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }