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

Bug 343179

Summary: Import and export server paths must be distinguished
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-04-18 13:11:06 EDT

    
Comment 1 John Arthorne CLA 2011-04-18 13:13:28 EDT
Currently the transfer server API looks like:

Import: /file/<path>
Export: /file/export/<path>

We distinguish import from export by the fact that export is a GET and import is a POST or PUT.

However for server<->server import/export the export is not a GET, so there is ambiguity in the second segment. /file/export/foo could mean export with path="foo" or import with path="/export/foo". It should change to:

Import: /file/import/<path>
Export: /file/export/<path>