| Summary: | [server][git] GET /git/clone/something should return 404 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> | ||||
| Component: | Client | Assignee: | Tomasz Zarna <tomasz.zarna> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 0.2 | ||||||
| Target Milestone: | 0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
There is no way for a GET request to create a clone, but the response is wrong. It should say 404. (In reply to comment #1) > There is no way for a GET request to create a clone, but the response is wrong. > It should say 404. Did you try to do the GET to /git/clone/something. Maybe it doesn't create a clone but for sure it ads an item to clones list that is return by GET /git/clone. Created attachment 193908 [details]
mylyn/context/zip
|
1. GET /git/clone/something 2. GET /git/clone -> in response we get repository "something" { "ContentLocation": "something", "Id": "something", "Location": "http://localhost:8080/git/clone/something" }