Custom HTTP methods support

Issue #32 on hold
Grzegorz Zdanowski created an issue

I don't know if it's really possible (see https://github.com/libevent/libevent/issues/427), but support for custom HTTP methods, besides these defined in CMD_* constants would be more than great.

Currently in order to support them no HTTP support classes can be used, which means building parser from scratch.

Edit: While I'm not a C guy I did an research and played a while with libevent along with digging into pecl-event code - from what I see it shouldn't be so difficult to add support for custom methods. See a comment I left: https://github.com/libevent/libevent/pull/327#issuecomment-263107034

Comments (3)

  1. Ruslan Osmanov repo owner

    @kiler129 Yes, it will be easy when the patch will be applied. Let's wait for the Libevent team then?

  2. Ruslan Osmanov repo owner

    As long as Libevent doesn't support custom methods, I can do nothing about it in the extension, I'm afraid.

    Feel free to re-open the issue, when the Libevent team introduces the feature in upstream.

  3. Log in to comment