Lines Matching refs:addHeader
355 response.addHeader("Accept-Ranges", "bytes");
403 res.addHeader("Location", uri);
516 res.addHeader("ETag", etag);
530 res.addHeader("Accept-Ranges", "bytes");
531 res.addHeader("Content-Length", "" + newLen);
532 res.addHeader("Content-Range", "bytes " + startFrom + "-" + endAt + "/" + fileLen);
533 res.addHeader("ETag", etag);
541 res.addHeader("Content-Range", "bytes */" + fileLen);
542 res.addHeader("ETag", etag);
548 res.addHeader("ETag", etag);
555 res.addHeader("ETag", etag);
559 res.addHeader("Content-Length", "" + fileLen);
560 res.addHeader("ETag", etag);
573 res.addHeader("Accept-Ranges", "bytes");
578 resp.addHeader("Access-Control-Allow-Origin", cors);
579 resp.addHeader("Access-Control-Allow-Headers", calculateAllowHeaders(queryHeaders));
580 resp.addHeader("Access-Control-Allow-Credentials", "true");
581 resp.addHeader("Access-Control-Allow-Methods", ALLOWED_METHODS);
582 resp.addHeader("Access-Control-Max-Age", "" + MAX_AGE);