Bart van den Eijnden (OSGIS) ha scritto:
> Hi list,
> 
> first of all sorry for the cross-post, but I really have no clue if this is
> a Geoserver or an OpenLayers issue.
> 
> I was using an OpenLayers AJAX POST call to Geoserver via proxy.cgi.
> 
> Now it turns out that Geoserver will only accept the request if I change
> proxy.cgi from (note the lowercase type):
> 
> headers = {"Content-Type": os.environ["CONTENT_TYPE"]}
> 
> to:
> 
> headers = {"Content-type": os.environ["CONTENT_TYPE"]}
> 
> Where is this issue caused? Geoserver is running on Tomcat. Content-Type
> seems the correct notation to me.
> 
> The error Geoserver gives me when using the former is:
> 
> <ows:ExceptionText>Could not determine geoserver request from http request
> [EMAIL PROTECTED]</ows:ExceptionText>

Hum, look like a GeoServer issue to me, http header parsing should
not be case sensitive (I believe, haven't really checked).
Justin, this is in the dispatcher. Opinions?
Cheers
Andrea
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to