comparison pkg/controllers/proxy.go @ 538:9ccf2c6b7275

WFS/WMS proxy: blacklist another namespace to make OpenLayers work.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 30 Aug 2018 11:28:35 +0200
parents 76a76691a298
children 82765aa6de53
comparison
equal deleted inserted replaced
537:942a865986f6 538:9ccf2c6b7275
31 "http://www.opengis.net/wfs/2.0": struct{}{}, 31 "http://www.opengis.net/wfs/2.0": struct{}{},
32 "http://www.opengis.net/ows/1.1": struct{}{}, 32 "http://www.opengis.net/ows/1.1": struct{}{},
33 "http://www.opengis.net/gml/3.2": struct{}{}, 33 "http://www.opengis.net/gml/3.2": struct{}{},
34 "http://www.opengis.net/fes/2.0": struct{}{}, 34 "http://www.opengis.net/fes/2.0": struct{}{},
35 "http://schemas.opengis.net/gml": struct{}{}, 35 "http://schemas.opengis.net/gml": struct{}{},
36 "http://www.opengis.net/wfs": struct{}{},
36 } 37 }
37 38
38 func proxyDirector(lookup func(string) (string, bool)) func(*http.Request) { 39 func proxyDirector(lookup func(string) (string, bool)) func(*http.Request) {
39 40
40 return func(req *http.Request) { 41 return func(req *http.Request) {