After overriding the REQUEST_METHOD, store the original request method in "rack.methodoverride.original_method" #86

Merged
merged 1 commit into from Oct 8, 2015

Conversation

Projects
None yet
5 participants

This is the same patch as #69 - I'm reopening it, because when you don't set rack.methodoverride.original_method after overriding the request method, there's no way to know what the original request was.

+1, it would be useful to have a way of differentiating the original HTTP method.

+1 Not having this available is requiring some really nasty workarounds.

@grosser grosser merged commit 5b85baf into rtomayko:master Oct 8, 2015

Collaborator

grosser commented Oct 8, 2015

thx, sounds like a useful feature :)

Collaborator

grosser commented Oct 8, 2015

1.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment