[ARVADOS] created: 082358766f97aac2df8432744ad99347e90a5f65

Git user git at public.curoverse.com
Tue Aug 1 09:42:49 EDT 2017


        at  082358766f97aac2df8432744ad99347e90a5f65 (commit)


commit 082358766f97aac2df8432744ad99347e90a5f65
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Aug 1 09:42:24 2017 -0400

    11167: Expose Content-Range response header for cross-origin reqs.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curoverse.com>

diff --git a/services/keep-web/handler.go b/services/keep-web/handler.go
index 16df210..67d46f6 100644
--- a/services/keep-web/handler.go
+++ b/services/keep-web/handler.go
@@ -149,6 +149,7 @@ func (h *handler) ServeHTTP(wOrig http.ResponseWriter, r *http.Request) {
 		// SSL certificates. See
 		// http://www.w3.org/TR/cors/#user-credentials).
 		w.Header().Set("Access-Control-Allow-Origin", "*")
+		w.Header().Set("Access-Control-Expose-Headers", "Content-Range")
 	}
 
 	arv := h.clientPool.Get()

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list