--001485f99c8079404604875937ba
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am sending a patch and Changelog file for trunk (should be the same
patch for 1.8) supporting the PATCH verb defined on the approved RFC
5789. Here is the link for such RFC:

http://tools.ietf.org/html/rfc5789

Patch should be used to partially update resources over the web using
a media type that gives enough information for such procedure.

The patch adds a new PATCH class, similar to POST. It also defines a
patch method to Net::HTTP instance. Finally, the code from post was
refactored out into a send_entity method, because patch and post
tunneling behavior are the same, with the only difference on which
http method being used.

Do I need to send something else?

Regards

Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/

--001485f99c8079404604875937ba
Content-Type: application/octet-stream; name=ChangeLogPatch
Content-Disposition: attachment; filename=ChangeLogPatch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9lhnu090

TW9uIE1heSAyNCAwMDo1Njo0MSAyMDEwICBHdWlsaGVybWUgU2lsdmVpcmEgPGd1aWxoZXJtZS5z
aWx2ZWlyYUBjYWVsdW0uY29tLmJyPgoKCSogaHR0cC5yYjogYWRkaW5nIHN1cHBvcnQgdG8gcmZj
NTc4OSBwYXRjaCB2ZXJiCgpBZGRlZCBhIE5ldDo6SFRUUDo6UGF0Y2ggY2xhc3Mgd2hpY2ggZXhw
ZWN0cyBhIG1lc3NhZ2UgYm9keSBhbmQgcmVzcG9uc2UgYm9keS4gSXQgcmVjeWNsZXMgdGhlIHBv
c3QgbWV0aG9kIGludG8gYSBwYXRjaCBvbmUsIHRoYXQgd2lsbCBzZW5kIHRoZSBlbmNvZGVkIHJl
cHJlc2VudGF0aW9uIHRvIHRoZSBzZXJ2ZXIuIFN1bW1hcml6aW5nLCBhIG5ldyBjbGFzcyBoYXMg
YmVlbiBjcmVhdGVkLCB0aGUgcG9zdCBtZXRob2QgZXh0cmFjdGVkIGludG8gc2VuZF9lbnRpdHks
IGluY2x1ZGluZyBhIG5ldyBhcmd1bWVudCwgd2hpY2ggZGVmaW5lcyB3aGljaCBjbGFzcyB0byB1
c2UgKFBvc3Qgb3IgUGF0Y2gpIGFuZCBmaW5hbGx5IGEgcGF0Y2ggbWV0aG9kIHdhcyBjcmVhdGVk
LgoK
--001485f99c8079404604875937ba
Content-Type: application/octet-stream; name="ruby-patch-verb.patch"
Content-Disposition: attachment; filename="ruby-patch-verb.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9lhnzif1

SW5kZXg6IGxpYi9uZXQvaHR0cC5yYgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaWIvbmV0L2h0dHAucmIJKHJl
dmlzaW9uIDI3OTk0KQorKysgbGliL25ldC9odHRwLnJiCSh3b3JraW5nIGNvcHkpCkBAIC05NjYs
MTcgKzk2NiwxNCBAQAogICAgICMgImFwcGxpY2F0aW9uL3gtd3d3LWZvcm0tdXJsZW5jb2RlZCIg
YnkgZGVmYXVsdC4KICAgICAjCiAgICAgZGVmIHBvc3QocGF0aCwgZGF0YSwgaW5pdGhlYWRlciA9
IG5pbCwgZGVzdCA9IG5pbCwgJmJsb2NrKSAjIDp5aWVsZDogK2JvZHlfc2VnbWVudCsKLSAgICAg
IHJlcyA9IG5pbAotICAgICAgcmVxdWVzdChQb3N0Lm5ldyhwYXRoLCBpbml0aGVhZGVyKSwgZGF0
YSkge3xyfAotICAgICAgICByLnJlYWRfYm9keSBkZXN0LCAmYmxvY2sKLSAgICAgICAgcmVzID0g
cgotICAgICAgfQotICAgICAgdW5sZXNzIEBuZXdpbXBsCi0gICAgICAgIHJlcy52YWx1ZQotICAg
ICAgICByZXR1cm4gcmVzLCByZXMuYm9keQotICAgICAgZW5kCi0gICAgICByZXMKKyAgICAgIHNl
bmRfZW50aXR5KHBhdGgsIGRhdGEsIGluaXRoZWFkZXIsIGRlc3QsIFBvc3QsICZibG9jaykKICAg
ICBlbmQKKyAgICAKKyAgICAjIFNlbmRzIGEgUEFUQ0ggcmVxdWVzdCB0byB0aGU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