Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception. I believe this is a valid "mailto" URI, as defined in RFC6068. Behavior observed: ```ruby >> URI.parse("mailto:?subject=hi") NoMethodError: undefined met...madeofcode (Mark Dodwell)
You could make the same argument against String. Why would you use that over `#to_s`? I can't think of any use cases for that :) To me, it's really about API consistency. I don't believe you would actually use it frequently, but inclu...madeofcode (Mark Dodwell)
These recently added 4xx status classes were inheriting from Net::HTTPSuccess, which seems incorrect. I believe they should inherit from Net::HTTPClientError, as with all the other 4xx cases. Note that this change subtly alters/fix...madeofcode (Mark Dodwell)
Forgive me if this is a silly question, but what is the point of initializing the instance variables to nil in the initializer? madeofcode (Mark Dodwell)
ERB::Util.url_encode is escaping tilde (~) where it should not according to the RFC. This fixes that behaviour so that it now correctly avoids escaping all unreserved characters as per RFC 3986, Section 2.3: http://tools.ietf.org/htm...madeofcode (Mark Dodwell)
For consistency, it seems to make sense to add a Kernel#Symbol helper. This change would not break any existing code and it provides a more consistent interface. Thoughts?madeofcode (Mark Dodwell)