Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335217

Summary: Support import using single POST call
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-01-24 12:01:35 EST
The current transfer API uses a POST to start an upload, and then a series of PUT operations to upload chunks until the upload completes. This is good for large files, but we should also support a simplified upload for smaller files that performs the entire upload in the initial POST call.
Comment 1 John Arthorne CLA 2011-01-24 15:27:26 EST
I have released support for importing within a single POST call. See:

http://wiki.eclipse.org/Orion/Server_API/Transfer_API#Importing_a_file_via_a_single_POST_call

And also:

TransferTest#testImportWithPost.