Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335217 - Support import using single POST call
Summary: Support import using single POST call
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 12:01 EST by John Arthorne CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.