zendframework/zf1 — pull request #402 by egeloen (2014-08-03 21:05:50+00:00)
Title: [Http] Multiple fixes related to the curl adapter

Hey!

This PR fixes multiple issue with the curl adapter:

- Fix the protocol version (we should use `CURLOPT_HTTP_VERSION` as option key and the `CURL_HTTP_VERSION_1_1`/`CURL_HTTP_VERSION_1_0` as option value).
- Add body support for the options request (The RFC 2616 specifies that an options request can wrap a body).
- Add patch method as supported method (currently, it is not and end up with an exception whereas curl supports it).