1
A
回答
3
从How to implement hotlinking prevention in Google App Engine
def get(self):
referer = self.request.headers.get("Referer")
# Will be None if no referer given in header.
而且我只是尝试这样在console:
import os
os.environ['HTTP_REFERER']
它返回
'http://con.appspot.com/console/'
检查,如果它不过使用之前在那里第一次。
相关问题
- 1. Google App Engine:流量监控
- 2. Google App Engine批量下载
- 3. Google App Engine HTTP
- 4. Google App Engine - java.security.AccessControlException?
- 5. Google App Engine
- 6. Google App Engine APNS
- 7. App Engine + Google Documents
- 8. Google App Engine ASP.net
- 9. Google App Engine ThreadSafe
- 10. Google App Engine Memcache
- 11. Google App Engine Blob
- 12. Google App Engine Geohashing
- 13. Google App Engine DeobfuscatorBuilder
- 14. SSLHandshakeError - Google App Engine
- 15. Google App Engine - JDODetachedFieldAccessException
- 16. Google App Engine Profiler
- 17. Python - Google App Engine
- 18. 将流星部署到Google App Engine 2017
- 19. 从Google App Engine流式传输音频
- 20. Google App Engine Java - javax.servlet源文件
- 21. Django with Google App Engine - 教程资源
- 22. Google-App-Engine中的资源包(Struts2)
- 23. Google App Engine - 从App Engine Helper升级
- 24. 如何在OSX上监控来自Google App Engine dev_appserver的http流量?
- 25. 如何构建Google数据存储(App Engine)Web流量模型?
- 26. Google App Engine - 不会将HTTP流量重定向到HTTPS
- 27. 有没有办法取消Google App Engine中的流量迁移?
- 28. 'Google App Engine'远比'Google Compute Engine'贵吗?
- 29. 来自Google App Engine的Django 1.5.1支持
- 30. Google App Engine - 死锁?
太好了,谢谢。 – user1379351