Project

General

Profile

This project is closed and read-only.

Feature #1352 ยป add_http_track.diff

dapatil (Darshan Patil), 04/05/2009 12:50 AM

View differences:

lib/net/http.rb (working copy)
request(Trace.new(path, initheader))
end
# Sends a TRACK request to the +path+ and gets a response,
# as a HTTPResponse object.
def track(path, body=nil, initheader=nil)
request(Track.new(path, initheader), body)
end
# Sends a GET request to the +path+ and gets a response,
# as an HTTPResponse object.
#
......
RESPONSE_HAS_BODY = true
end
class Track < HTTPRequest
METHOD = 'TRACK'
REQUEST_HAS_BODY = true
RESPONSE_HAS_BODY = true
end
#
# WebDAV methods --- RFC2518
#
    (1-1/1)