fixtures/vcr_cassettes/geonames_geocode_premium.yml
---
http_interactions:
- request:
method: get
uri: http://ws.geonames.net/postalCodeSearch?maxRows=10&placename=Adelaide&username=demo
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- '*/*'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Fri, 20 Jun 2014 02:41:39 GMT
Server:
- Apache/2.2.17 (Linux/SUSE)
Cache-Control:
- no-cache
Access-Control-Allow-Origin:
- '*'
Transfer-Encoding:
- chunked
Content-Type:
- text/xml;charset=UTF-8
body:
encoding: UTF-8
string: |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<geonames>
<status message="Please provide a valid username for the GeoNames Premium Web Service or use the free api.geonames.org server. Thank you for your understanding." value="10"/>
</geonames>
http_version:
recorded_at: Fri, 20 Jun 2014 02:41:29 GMT
recorded_with: VCR 2.9.2