GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of lifo/doc-rails
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/zmalltalker/doc-rails.git
Fill up missing doc for ARes' Connection#head.
chuyeow (author)
Sat Apr 05 22:42:54 -0700 2008
commit  9fbd6e27b5b6a76dc48f8ef0b30a96774d681301
tree    61a78336ae702a7e2bcd7a3be1143943013390fd
parent  4649faf923b3ef48cfdc9df9a2d4db3e790534cd
...
115
116
117
118
119
 
 
120
121
122
...
115
116
117
 
 
118
119
120
121
122
0
@@ -115,8 +115,8 @@ module ActiveResource
0
     end
0
 
0
     # Execute a HEAD request.
0
- # Used to ...
0
- def head(path, headers= {})
0
+ # Used to obtain meta-information about resources, such as whether they exist and their size (via response headers).
0
+ def head(path, headers = {})
0
       request(:head, path, build_request_headers(headers))
0
     end
0
 

Comments

    No one has commented yet.