flask.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:SuperOcto 作者: mcecchi 项目源码 文件源码
def cookie_suffix(self):
        """
        Request specific suffix for set and read cookies

        We need this because cookies are not port-specific and we don't want to overwrite our
        session and other cookies from one OctoPrint instance on our machine with those of another
        one who happens to listen on the same address albeit a different port.
        """
        return "_P" + self.server_port
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号