 
     # (static) creates an action with HTTP GET
     @doGet: (routeName,params = {},callback = null,type = "json") ->
-        if routeName.match(/^http:\/\//) is null
+        if routeName.match(/^https?:\/\//) is null
             url = @__parse_url(@__urls[routeName],params)
         else
             url = @__parse_url(routeName,params)


    # (static) creates an action with HTTP POST 
    @doPost: (routeName,params = {},callback = null,type = "json") ->
        if routeName.match(/^http:\/\//) is null
            url = @__parse_url(@__urls[routeName],params)
        else
            url = @__parse_url(routeName,params)


    # creates an action with HTTP POST
    doPost: (routeName,params = {},callback = null,type = "json") ->
        if routeName.match(/^https?:\/\//) is null
            url = @__urls[routeName]
        else
            url = routeName
