PUT request via HTTPS not handled properly

I've started to create a very basic rails app. It basically outputs
the body of an incoming HTTP PUT request to the console.
Unfortunately, it only handles HTTP requests and completely ignores
HTTPS requests.

Do I have anything special to my Rails 3 routes.rb. It currently looks
like this:

PutTest::Application.routes.draw do

  controller :put_test do
    match 'put', :to => :update, :via => [:put]
  end
end

I don't see the controller handling incoming HTTPS PUT requests.
Everything works fine with HTTP PUT requests.

Your help is greatly appreciated!

24z wrote in post #976330:

Do I have anything special to my Rails 3 routes.rb. It currently looks
like this:

PutTest::Application.routes.draw do

  controller :put_test do
    match 'put', :to => :update, :via => [:put]
  end
end

Unless my understanding of the Rails 3 routing syntax is complete wrong,
the above route makes no sense.

Shouldn't it look more like the following?

match 'put_test/update' => 'put_test#update', :via => :put

or the shorthand

put 'put_test/update'

Yeah, the original syntax makes no sense unfortunately. If you do want to invoke per controller routing, it needs to be through:

resources :controllername do

do stuff

end