Take a look at
http://tech.groups.yahoo.com/group/rest-discuss/message/13468
http://tech.groups.yahoo.com/group/rest-discuss/message/13319
http://tech.groups.yahoo.com/group/rest-discuss/message/17014
There's more, but these were the ones I could find quickly.
Best,
Sidu.
http://c42.in
http://ab
On 24 May 2011 19:13, Sidu Ponnappa wrote:
> Hi Andrew,
>
> I'm not sure that's necessarily true - I've read of several RESTful
> APIs using OPTIONS to discover more about a resource at a URI. Rails
> clearly recognizes the OPTIONS HTTP verb because I get
>
>
Ah do you have any links about this y
It was simple enough to add to Rails - I've submitted a pull request:
https://github.com/rails/rails/pull/1277
If the pull request isn't accepted, then it should be easy enough for
me to add it to rspec-rails if David and the rest of the rspec team
thinks that's an acceptable alternative.
Best,
S
Hi Andrew,
I'm not sure that's necessarily true - I've read of several RESTful
APIs using OPTIONS to discover more about a resource at a URI. Rails
clearly recognizes the OPTIONS HTTP verb because I get
Started OPTIONS "/" for 127.0.0.1 at Tue May 24 23:38:38 +0530 2011
when I query a standard
A cursory examination of
http://apidock.com/rails/ActionController/TestCase seems to indicate
that there may be no way to write tests for options calls using
standard Rails tests.
'First, one uses the get, post, put, delete or head method to simulate
an HTTP request.'
Best,
Sidu.
http://c42.in
htt
On 24 May 2011 04:26, satyamag wrote:
>
> Hi
>
> I am new to rails and rspec. I am trying to write specs for a web service
> written in rails and found that firefox 3.6 makes an OPTIONS call to the
> server before making a POST.
>
> I want to write a spec for this behavior but am unable to find a