Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added ability for server to perform http put calls

  • Loading branch information...
commit b9c4478709b4a8a09b0caba262d7b65b05d3bb49 1 parent 3f93cb9
@danny authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/rdf/sesame/server.rb
View
6 lib/rdf/sesame/server.rb
@@ -255,6 +255,12 @@ def post(path, data, headers = {}, &block) # @private
end
end
+ def put (path, data, headers = {}, &block) # @private
+ self.connection.open do
+ self.connection.put(path, data, headers, &block)
+ end
+ end
+
def delete(path, headers = {}, &block) # @private
self.connection.open do
self.connection.delete(path, headers, &block)
Please sign in to comment.
Something went wrong with that request. Please try again.