You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running HTTP POST (form-like, not XML payload) requests against a pycsw endpoint in OAI mode results in exception. pycsw in POST mode assumes it's an XML payload. The OAI spec requires both GET and POST to be supported.
Environment
operating system: Debian
Python version: 2.7.9
pycsw version: master
source/distribution
git clone
DebianGIS/UbuntuGIS
PyPI
zip/tar.gz
other (please specify):
web server
Apache/mod_wsgi
CGI
other (please specify):
Steps to Reproduce
curl -X POST -F "mode=oaipmh" -F "verb=Identify" http://demo.pycsw.org/cite/csw
Description
Running HTTP POST (form-like, not XML payload) requests against a pycsw endpoint in OAI mode results in exception. pycsw in POST mode assumes it's an XML payload. The OAI spec requires both GET and POST to be supported.
Environment
Steps to Reproduce
OR
Additional Information
We need a way to detect a POST request that is not an XML payload and process into pycsw's kvp setup.
The text was updated successfully, but these errors were encountered: