[Geoserver-devel] [JIRA] (GEOS-8410) WFS 2.0 exceptions do not respect the required HTTP status codes

Andrea Aime created an issue

GeoServer / BugGEOS-8410

WFS 2.0 exceptions do not respect the required HTTP status codes

Issue Type:

BugBug

Assignee:

Unassigned

Components:

WFS

Created:

21/Nov/17 7:33 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

Right now it’s all 200s, but the specification has a table linking OGC exception codes to expected HTTP status codes and reason phrases:

http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#411

Mind, internally we are not using all the codes. Plan:

  • Use the codes consistently (there is a chance the right code choice might be service version dependent…)
  • Map service exception codes to HTTP status codes in the WFS 2.0 service exception handler

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100072-sha1:a7bb548)

Atlassian logo