Comment 4 for bug 163173

Revision history for this message
Jacob Holm (jacobholm) wrote :

Here is the patch. It does the following:
1) Add OPTIONS and LOCK to the list of request methods we create NullResources for.
2) Add unit tests for the new behavior.
3) Add a "NullOPTIONS" view because NullResources do not support the same methods as regular resources (e.g. no GET, HEAD, POST)
4) Refactor the regular OPTIONS view slightly to allow reuse in the NullOPTIONS view.
5) Add unit+functional tests for the two OPTIONS views.

Any comments?