K
Keith Langdon
Hi, using the great rest-client from Adam Wiggins, but I can't seam to
be able work out how to get just the HEAD of a URL.
i.e. in curl I would : curl -I URL
I'm getting the data just fine with:
return_data = RestClient.get "URL"
Is there a way of doing this, or should I go about it a different way?
I'm using it to get the filename sent back from a send_data command in a
rails app.
Still very new to all this ruby/rails jive, but liking it so far!
Keith.
be able work out how to get just the HEAD of a URL.
i.e. in curl I would : curl -I URL
I'm getting the data just fine with:
return_data = RestClient.get "URL"
Is there a way of doing this, or should I go about it a different way?
I'm using it to get the filename sent back from a send_data command in a
rails app.
Still very new to all this ruby/rails jive, but liking it so far!
Keith.