If I remove the scheme then the server-side fails during listMethods (it uses the same js value that is used client side).
org.apache.shindig.gadgets.render.DefaultServiceFetcher retrieveServices SEVERE: Failed to fetch services methods from endpoint //myshindigserver:8443/shindig/rpc. Error Missing schema for request: //myshindigserver:8443/shindig/rpc?method=system.listMethods I think the java code would need to be changed to tack on the current scheme of the servlet request. doug On 6/20/11 4:26 PM, "Li Xu" <[email protected]> wrote: > Hello, all > > Can we remove scheme from "defaultShindigTestHost" in container.js? > eg > "defaultShindigTestHost":"//%authority%", > insteadof > "defaultShindigTestHost":"http://%authority%", > Right now it's not convenient. Each time we need to modify container.js if > scheme needs to be updated. > Another approach I could think of is to replace the scheme based on the > value from incoming request.... > > Could anyone please suggest if there's any flaw to remove scheme here? I > have run a few tests and didn't catch anything bad... > > thanks! > li >
