mirror of https://github.com/apache/jclouds.git
Issue 75: fixed Range header on tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1822 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
bff270c6e5
commit
16e87c39f2
|
@ -93,7 +93,7 @@ public abstract class BaseJettyTest {
|
||||||
} else {
|
} else {
|
||||||
response.sendError(500, "no content");
|
response.sendError(500, "no content");
|
||||||
}
|
}
|
||||||
} else if (request.getHeader("Content-Range") != null) {
|
} else if (request.getHeader("Range") != null) {
|
||||||
response.sendError(404, "no content");
|
response.sendError(404, "no content");
|
||||||
} else if (request.getHeader("test") != null) {
|
} else if (request.getHeader("test") != null) {
|
||||||
response.setContentType("text/plain");
|
response.setContentType("text/plain");
|
||||||
|
|
|
@ -80,7 +80,7 @@ public interface IntegrationTestClient {
|
||||||
@GET
|
@GET
|
||||||
@Path("objects/{id}")
|
@Path("objects/{id}")
|
||||||
@ExceptionParser(FooOnException.class)
|
@ExceptionParser(FooOnException.class)
|
||||||
String synchException(@PathParam("id") String id, @HeaderParam("Content-Range") String header);
|
String synchException(@PathParam("id") String id, @HeaderParam("Range") String header);
|
||||||
|
|
||||||
@PUT
|
@PUT
|
||||||
@Path("objects/{id}")
|
@Path("objects/{id}")
|
||||||
|
|
Loading…
Reference in New Issue