rdfobjects 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rdf_objects/http_client.rb +1 -1
  2. metadata +1 -1
@@ -19,7 +19,7 @@ module RDFObject
19
19
  end
20
20
  if response.code == "200"
21
21
  return response.body
22
- elsif response.code == "303"
22
+ elsif response.code =~ /^30[0-9]$/
23
23
  return fetch(response.header['location'])
24
24
  else
25
25
  raise response.message
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdfobjects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Singer