On our Geoserver 2.2 installation even requests that I think should fail
return "HTTP/1.1 200 OK".

The XML that is returned is correct, but the HTTP response codes are always
200. Is this expected behavior, or do I have something mis-configured?


michael@speed:~/dev/acg/js$ curl -i "
http://hostname/geoserver/acg/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=wsp:real_feature&maxFeatures=50&outputFormat=text/xml;%20subtype=gml/3.2";
2>&1 | grep '200 OK'
HTTP/1.1 200 OK

michael@speed:~/dev/acg/js$ curl -i "
http://hostname/geoserver/acg/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=wsp:fake_feature&maxFeatures=50&outputFormat=text/xml;%20subtype=gml/3.2";
2>&1 | grep '200 OK'
HTTP/1.1 200 OK

Even something like this returns a 200 status.

michael@speed:/tmp$ curl -i "
http://michael-dev.mapfeeder.net:8080/geoserver/acg/ows"; 2>&1
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Fri, 03 May 2013 14:30:58 GMT

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
  xsi:schemaLocation="http://www.opengis.net/ows
http://michael-dev.mapfeeder.net:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd
"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ows="
http://www.opengis.net/ows";>
  <ows:Exception exceptionCode="InvalidParameterValue" locator="service">
    <ows:ExceptionText>No service: ( ows )</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>


Thanks,
Michael Moore
-- 
Support the digitization of the Iron County Miner newspaper archives
Like this project on Facebook: https://www.facebook.com/digitizeicm
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to