Project

General

Profile

Feature #1358 ยป patch_add_HTTP_track.diff

sardaukar (Bruno Antunes), 04/06/2009 08:50 PM

View differences:

http.rb.patched 2009-04-03 11:53:33.000000000 +0100
request(Trace.new(path, initheader))
end
# Sends a TRACK request to the +path+ and gets a response,
# as an 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)