开发者

Appengine data over SSL?

This is simple, but there seems to be limited informatio开发者_JAVA百科n on this topic. I am working on a small backend for an iOS app which receives POST data (successfully).

I believe I have enabled https support (in the app, and on appengine), but how do I tell in AppEngine if the data really did come over HTTPS?

If it helps, I am connecting through the app on a https:// address and I am using:

secure: always

in my app.yaml (from here)

So far all I can do is 'presume' it is working.

Thanks again, SO rocks.


It sounds like you want to verify that appengine is performing the way it's documented.

You could verify manually by going to the http url and should be redirected to https.

Programmatically you could check the request for the incoming scheme: python/webapp: request.scheme http://docs.webob.org/en/latest/reference.html#method-url

java: request.getScheme() http://download.oracle.com/javaee/1.3/api/javax/servlet/ServletRequest.html#getScheme()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜