# Net/http - adding an HTTP method

**URL:** <https://www.ruby-forum.com/t/net-http-adding-an-http-method/164631>\
**Category:** Ruby\
**Created:** [April 3, 2009, 1:41pm UTC](https://www.ruby-forum.com/t/net-http-adding-an-http-method/164631 "2009-04-03T13:41:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f04885/32.png) [@beer](https://www.ruby-forum.com/u/beer)\
**Post date:** [April 3, 2009, 1:41pm UTC](https://www.ruby-forum.com/t/net-http-adding-an-http-method/164631/1 "2009-04-03T13:41:30Z")

</div>

I’ve made this patch to http.rb in the net/http module to add the TRACK  
method. Is this ok? Is there another way to do it?

---

<div class="post-metadata">

**Author:** ![beer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f04885/32.png) [@beer](https://www.ruby-forum.com/u/beer)\
**Post date:** [April 3, 2009, 10:31pm UTC](https://www.ruby-forum.com/t/net-http-adding-an-http-method/164631/2 "2009-04-03T22:31:54Z")

</div>

On Apr 3, 2009, at 04:41, Bruno Antunes wrote:

> I’ve made this patch to http.rb in the net/http module to add the  
> TRACK  
> method. Is this ok? Is there another way to do it?
> 
> Attachments:  
> [http://www.ruby-forum.com/attachment/3545/http\_add\_track.diff](http://www.ruby-forum.com/attachment/3545/http_add_track.diff)

Your indentation is broken for the second chunk.

You should submit your patch to [http://redmine.ruby-lang.org/](http://redmine.ruby-lang.org/)
