Skip to content

Instantly share code, notes, and snippets.

@jj0hns0n
Created April 24, 2012 19:10
Show Gist options
  • Save jj0hns0n/2482793 to your computer and use it in GitHub Desktop.
Save jj0hns0n/2482793 to your computer and use it in GitHub Desktop.
Request URL:http://opendri.dev.opengeo.org/pycsw/
Request Method:POST
Status Code:200 OK
Request Headersview source
Accept:*/*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Content-Length:569
Content-Type:application/xml
Cookie:__utma=53199990.387098448.1327515103.1334701047.1334866036.21; __utmz=53199990.1333653523.19.7.utmcsr=google.com|utmccn=(referral)|utmcmd=referral|utmcct=/imgres; _mkto_trk=id:242-IZP-883&token:_mch-opengeo.org-1327515103060-99343; sessionid=74d2d8ba81d12d5e28e23dc542b2d1cb; csrftoken=97614eb930d36fc5df0084911588308b
Host:opendri.dev.opengeo.org
Origin:http://opendri.dev.opengeo.org
Referer:http://opendri.dev.opengeo.org/maps/new
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.163 Safari/535.19
X-Requested-With:XMLHttpRequest
Request Payload
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2" resultType="results" maxRecords="10" xmlns:gmd="http://www.isotc211.org/2005/gmd"><csw:Query typeNames="gmd:MD_Metadata"><csw:ElementSetName>full</csw:ElementSetName><csw:Constraint version="1.1.0"><ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:PropertyIsLike wildCard="*" singleChar="." escapeChar="!"><ogc:PropertyName>csw:AnyText</ogc:PropertyName><ogc:Literal>*haiti*</ogc:Literal></ogc:PropertyIsLike></ogc:Filter></csw:Constraint></csw:Query></csw:GetRecords>
Response Headersview source
Connection:Keep-Alive
Content-Type:application/xml; charset=UTF-8
Date:Tue, 24 Apr 2012 19:08:52 GMT
Keep-Alive:timeout=15, max=99
Server:Apache/2.2.14 (Ubuntu)
Transfer-Encoding:chunked
==== RESPONSE ======
?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- pycsw 1.3-dev -->
<csw:GetRecordsResponse xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dct="http://purl.org/dc/terms/" xmlns:ows="http://www.opengis.net/ows" xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:dif="http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:ogc="http://www.opengis.net/ogc" xmlns:fgdc="http://www.opengis.net/cat/csw/csdgm" xmlns:inspire_ds="http://inspire.ec.europa.eu/schemas/inspire_ds/1.0" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:os="http://a9.com/-/spec/opensearch/1.1/" xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:wrs="http://www.opengis.net/cat/wrs/1.0" version="2.0.2" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"><csw:SearchStatus timestamp="2012-04-24T14:08:53Z"/><csw:SearchResults numberOfRecordsReturned="0" nextRecord="0" numberOfRecordsMatched="0" recordSchema="http://www.opengis.net/cat/csw/2.0.2" elementSet="full"/></csw:GetRecordsResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment