Add 'tools/arvbox/' from commit 'd3d368758db1f4a9fa5b89f77b5ee61d68ef5b72'
[arvados.git] / services / keep-web / handler.go
index c947a6efcd1189137afbe4debd5b4bc2c78c0921..e1b23621af8f70aa214e43639140ca23ed2784c4 100644 (file)
@@ -101,8 +101,11 @@ func (h *handler) ServeHTTP(wOrig http.ResponseWriter, r *http.Request) {
        }
 
        if r.Header.Get("Origin") != "" {
-               // Allow simple cross-origin requests, without
-               // credentials.
+               // Allow simple cross-origin requests without user
+               // credentials ("user credentials" as defined by CORS,
+               // i.e., cookies, HTTP authentication, and client-side
+               // SSL certificates. See
+               // http://www.w3.org/TR/cors/#user-credentials).
                w.Header().Set("Access-Control-Allow-Origin", "*")
        }