This project is closed and read-only.
Feature #1352 ยป add_http_track.diff
| 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
|
||
|
#
|
||