Why is remote_addr missing from the Flask documentation?

时间:2016-08-31 12:27:22

标签: python flask

This question answers how to find the IP of your visitors in Flask. The code works. However, request.remote_addr seems to be absent from the Flask documentation. Why is this?

1 个答案:

答案 0 :(得分:4)

因为Request对象来自Werkzeug, documented。 Flask的文档只是复制了一些比较常用的信息,但它们也直接链接到Werkzeug文档。

相关问题