Added a comment to clarify net/http's default behavior
@@ -277,6 +277,7 @@ func (app *virtAPIApp) composeSubresources() {
Operation("vnc").
Doc("Open a websocket connection to connect to VNC on the specified VirtualMachineInstance."))
+ // An empty handler function would respond with HTTP OK by default
subws.Route(subws.GET(rest.ResourcePath(subresourcesvmiGVR) + rest.SubResourcePath("test")).
To(func(request *restful.Request, response *restful.Response) {}).
Param(rest.NamespaceParam(subws)).Param(rest.NameParam(subws)).
