python - Google cloud endpoints discovery doc appends https:// to the base and root url -
it has been found discovery doc generated using endpointscfg.py appends https:// hostname provided in endpoints api.for eg:
endpoints.api(name='test', version='v1', description='description', audiences=audiences, allowed_client_ids=client_ids, hostname='abc.com')(testservice)
the problematic part of generated discovery doc follows:
"protocol": "rest", "baseurl": "https://abc.com/_ah/api/test/v1/", "basepath": "/_ah/api/test/v1/", "rooturl": "https://abc.com/_ah/api/",
i need http instead of https appended above urls. there way achieve it?
please help. in advance.
custom domains not supported. if use hostname='myapp.appspot.com'
, https
must used because paths under
https://myapp.appspot.com/_ah/api/.*
are controlled google's api infrastructure , not application. these uris, https
allowed.
Comments
Post a Comment