Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

head in rails

# Return a response that has no content (merely headers).
# The options argument is interpreted to be a hash of header names and values.
#This allows you to easily return a response that consists only of significant headers:

head :length_required # 411 Length Required
head :ok              # 200 OK
Source by apidock.com #
 
PREVIOUS NEXT
Tagged: #head #rails
ADD COMMENT
Topic
Name
9+2 =