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:
adrian.f.cole 2009-07-20 15:28:14 +00:00
parent bff270c6e5
commit 16e87c39f2
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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}")