| Summary: | Import and export server paths must be distinguished | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | 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
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> |