You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Net::HTTP adapter, several "non-standard" HTTP methods (such as PATCH) cause exceptions to be raised when calling HTTPI#request. The adapter only allows "standard" methods to be used. However, in Ruby 1.9.3 and later, PATCH and other methods are officially supported in Net::HTTP. I propose that the adapter should use reflection on Net::HTTP to determine if a specific method is available.
PATCH in particular is frequently used in RESTful APIs so the inability to use it via HTTPI + Net::HTTP when it is supported upstream is problematic.
The text was updated successfully, but these errors were encountered:
When using the Net::HTTP adapter, several "non-standard" HTTP methods (such as PATCH) cause exceptions to be raised when calling HTTPI#request. The adapter only allows "standard" methods to be used. However, in Ruby 1.9.3 and later, PATCH and other methods are officially supported in Net::HTTP. I propose that the adapter should use reflection on Net::HTTP to determine if a specific method is available.
PATCH in particular is frequently used in RESTful APIs so the inability to use it via HTTPI + Net::HTTP when it is supported upstream is problematic.
The text was updated successfully, but these errors were encountered: