README.md in rdf-ldp-0.7.0 vs README.md in rdf-ldp-0.8.0
- old
+ new
@@ -80,10 +80,10 @@
# - You may not need an initial "base" container, if you handle create on PUT
# requests.
#
repository = RDF::Repository.new
RDF::LDP::Container.new(RDF::URI('http://localhost:9292/'), repository)
- .create('', 'text/plain') if repository.empty?
+ .create(StringIO.new(''), 'text/plain') if repository.empty?
app = proc do |env|
# Return a Rack response, giving an `RDF::LDP::Resource`-like object as the body.
# The `Rack::LDP` middleware marhsalls the request to the resource, builds the response,
# and handles conneg for RDF serializations (when the body is an `RDF::LDP::RDFSource`).