Closed (fixed)
Project:
Services
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 21:52 UTC
Updated:
21 Apr 2011 at 22:41 UTC
Hello, since Flash/Flex only supports GET/POST, I had to implement this. I think it might be of interest to others.
| Comment | File | Size | Author |
|---|---|---|---|
| X-HTTP-Method-Override.patch | 496 bytes | wedge |
Comments
Comment #1
gddThis is not a bad idea. Some firewalls block everything but POST and GET apparently as well.
Comment #2
ygerasimov commentedI think it is quite nice idea as well. Even I would substitute the code
With code proposed by wedge as it looks like it is more common way to override method if we can't use it directly.
Comment #3
voxpelli commented@ygerasimov: If we find this header to be of common use then we should support both methods as some people might not be able to easily change headers or not know how to change them. Removing $_GET['_method'] would also break compatibility - no reason to do so.
Comment #4
ygerasimov commentedAlright. Lets support several ways of "switching" the method.
Setting this issue to reviewed.
Comment #5
kylebrowning commented