Created
February 2, 2012 09:40
-
-
Save bartvde/1722615 to your computer and use it in GitHub Desktop.
curl fail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --data '<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2" resultType="results" maxRecords="100" xmlns:gmd="http://www.isotc211.org/2005/gmd"><csw:Query typeNames="gmd:MD_Metadata"><csw:ElementSetName>full</csw:ElementSetName></csw:Query></csw:GetRecords>' "http://localhost:8080/proxy/?url=http%3A%2F%2Fdemo.geonode.org%2Fgeonetwork%2Fsrv%2Fen%2Fcsw%3FresultType%3Dresults%26maxRecords%3D100%26Query%3D%255Bobject%2520Object%255D" --verbose --header "Content-type: application/xml; charset=UTF-8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
< Date: Thu, 02 Feb 2012 09:39:00 GMT
< Date: Thu, 02 Feb 2012 09:39:01 GMT
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 1328
< Via: 1.1 demo.geonode.org
< Vary: Accept-Encoding
< Connection: close
< <title>Apache Tomcat/6.0.24 - Error report</title><style></style>
HTTP Status 400 - Cannot build ServiceRequest Cause : Error on line -1: Premature end of file. Error : org.jdom.input.JDOMParseException
type Status report
message Cannot build ServiceRequest Cause : Error on line -1: Premature end of file. Error : org.jdom.input.JDOMParseException
description The request sent by the client was syntactically incorrect (Cannot build ServiceRequest Cause : Error on line -1: Premature end of file. Error : org.jdom.input.JDOMParseException