Loading data-access/servlet/src/main/java/cutout/webapi/ServletCutout.java +7 −0 Original line number Diff line number Diff line Loading @@ -263,6 +263,13 @@ public class ServletCutout extends HttpServlet Pol pol = Pol.parsePol(params); String pixels = SingleStringParam.parseSingleStringParam(params, "PIXELS"); // disable complete file/hdu download if( (id!=null) && (pos==null) && (band==null) && (time==null) && (pol==null) && (pixels==null)) { throw new IllegalArgumentException("At least one of filtering args must be given."); } String respFormat = sodaReq_getResponseFormat(request, DEFAULT_RESPONSEFORMAT); LOGGER.finest("responseFormat: " + respFormat); Loading Loading
data-access/servlet/src/main/java/cutout/webapi/ServletCutout.java +7 −0 Original line number Diff line number Diff line Loading @@ -263,6 +263,13 @@ public class ServletCutout extends HttpServlet Pol pol = Pol.parsePol(params); String pixels = SingleStringParam.parseSingleStringParam(params, "PIXELS"); // disable complete file/hdu download if( (id!=null) && (pos==null) && (band==null) && (time==null) && (pol==null) && (pixels==null)) { throw new IllegalArgumentException("At least one of filtering args must be given."); } String respFormat = sodaReq_getResponseFormat(request, DEFAULT_RESPONSEFORMAT); LOGGER.finest("responseFormat: " + respFormat); Loading