c9s / Pux

Pux is a fast PHP Router and includes out-of-box controller tools
MIT License
1.27k stars 81 forks source link

Allow HTTP method to be overwritten by HTTP_X_HTTP_METHOD_OVERRIDE #90

Closed jqnote closed 9 years ago

jqnote commented 9 years ago

Allow HTTP method to be overwritten by HTTP_X_HTTP_METHOD_OVERRIDE

c9s commented 9 years ago

Hi, what's the HTTP_X_HTTP_METHOD_OVERRIDE coming from? a proxy?

and can you please rebase the changes from 2.0 branch instead of making a merge point? Thanks

c9s commented 9 years ago

Added a middleware for this dd5f843...ea1707f please take a look.

c9s commented 9 years ago

I created a branch 1.6 and cherry pick the commit, please install 1.6.1 version for this feature.