-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update faraday gem to support additional HTTP methods #4234
Comments
Thanks for the reminder. We should have an RC out this week. Question: do you need |
@technoweenie Actually I only need |
Looks like Faraday is nearing version v1.0. It might be a good idea to check if there are any incompatibilities between InSpec and their upcoming release. |
There are several outstanding issues about bumping faraday and faraday_middleware. This gives us access to additional HTTP methods and the versions we are pinned to are quite old. Fixes #4234 Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
There are several outstanding issues about bumping faraday and faraday_middleware. This gives us access to additional HTTP methods and the versions we are pinned to are quite old. Fixes #4234 Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
There are several outstanding issues about bumping faraday and faraday_middleware. This gives us access to additional HTTP methods and the versions we are pinned to are quite old. Fixes #4234 Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
Only some HTTP methods can be used in the http resource.
TRACE
andCONNECT
are not supported at the moment so invoking the http resource with them fails.Detailed Description
Update the faraday gem once a new version has been released that includes the additional HTTP methods. The latest version 0.15.4 was released 27th Nov 2018.
Context
I want to validate web server hardening measures. One of the typical steps is to verify that the TRACE method is not allowed. This should be possible with the built-in http resource instead of having to rely on invoking the curl binary.
Possible Implementation
I've asked the faraday maintainers about a new release that includes the change for the HTTP methods so that the required functionality can be made available in InSpec: lostisland/faraday#462
The text was updated successfully, but these errors were encountered: