kcwebs 3.48__tar.gz → 3.50__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kcwebs-3.48 → kcwebs-3.50}/PKG-INFO +2 -2
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/__init__.py +1 -1
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/common/autoload.py +3 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs.egg-info/PKG-INFO +2 -2
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs.egg-info/requires.txt +4 -4
- {kcwebs-3.48 → kcwebs-3.50}/README.md +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/common/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/common/session.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/config/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/kcwebs.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/common/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/common/autoload.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/autoload.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/html/include/static.html +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/model.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/index.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/home.html +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/index.html +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/common/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/common/autoload.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/common/html/include/static.html +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/common/model.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/config/__init__.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/config/app.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/config/database.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/config/other.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/config/redis.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/server.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/utill/db/model.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/utill/db/mongodb.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs/utill/queues.py +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs.egg-info/SOURCES.txt +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs.egg-info/dependency_links.txt +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs.egg-info/entry_points.txt +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/kcwebs.egg-info/top_level.txt +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/setup.cfg +0 -0
- {kcwebs-3.48 → kcwebs-3.50}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcwebs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.50
|
|
4
4
|
Summary: kcwebs作为web开发而设计的高性能框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/2
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcwebs作为web开发而设计的高性能框架,采用全新的架构思想,注重易用性。遵循MIT开源许可协议发布,意味着个人和企业可以免费使用kcwebs,甚至允许把你基于kcwebs开发的应用开源或商业产品发布或销售。完整文档请访问:https://docs.kwebapp.cn/index/index/2
|
|
12
|
-
Keywords: kcwebs3.
|
|
12
|
+
Keywords: kcwebs3.50
|
|
13
13
|
Platform: UNKNOWN
|
|
@@ -801,6 +801,7 @@ class response:
|
|
|
801
801
|
|
|
802
802
|
body 视频二进制内容或视频路径
|
|
803
803
|
"""
|
|
804
|
+
import filetype
|
|
804
805
|
status='200 ok'
|
|
805
806
|
header={"Cache-Control":"public, max-age=2592000"}
|
|
806
807
|
if isinstance(body,str):
|
|
@@ -837,6 +838,7 @@ class response:
|
|
|
837
838
|
|
|
838
839
|
body 音频二进制内容或音频路径
|
|
839
840
|
"""
|
|
841
|
+
import filetype
|
|
840
842
|
status='200 ok'
|
|
841
843
|
header={"Cache-Control":"public, max-age=2592000"}
|
|
842
844
|
if isinstance(body,str):
|
|
@@ -873,6 +875,7 @@ class response:
|
|
|
873
875
|
|
|
874
876
|
pathname 文件路径
|
|
875
877
|
"""
|
|
878
|
+
import filetype
|
|
876
879
|
if os.path.isfile(pathname):
|
|
877
880
|
f=open(pathname,"rb")
|
|
878
881
|
body=f.read()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcwebs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.50
|
|
4
4
|
Summary: kcwebs作为web开发而设计的高性能框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/2
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcwebs作为web开发而设计的高性能框架,采用全新的架构思想,注重易用性。遵循MIT开源许可协议发布,意味着个人和企业可以免费使用kcwebs,甚至允许把你基于kcwebs开发的应用开源或商业产品发布或销售。完整文档请访问:https://docs.kwebapp.cn/index/index/2
|
|
12
|
-
Keywords: kcwebs3.
|
|
12
|
+
Keywords: kcwebs3.50
|
|
13
13
|
Platform: UNKNOWN
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/__init__.py
RENAMED
|
File without changes
|
{kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/autoload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/home.html
RENAMED
|
File without changes
|
{kcwebs-3.48 → kcwebs-3.50}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|