Last active
April 15, 2021 22:44
-
-
Save shimizukawa/32526648950edfc1ef3b867240c04b40 to your computer and use it in GitHub Desktop.
Flaskのhttpポートにhttps通信したときのログ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) $ FLASK_APP=run.py flask run | |
* Serving Flask app "run.py" | |
* Environment: production | |
WARNING: This is a development server. Do not use it in a production deployment. | |
Use a production WSGI server instead. | |
* Debug mode: off | |
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) | |
## ここから http://localhost:5000/ でアクセスしたログ | |
127.0.0.1 - - [16/Apr/2021 07:41:17] "GET / HTTP/1.1" 200 - | |
127.0.0.1 - - [16/Apr/2021 07:41:18] "GET /favicon.ico HTTP/1.1" 404 - | |
## ここから https://localhost:5000/ でアクセスしたログ | |
127.0.0.1 - - [16/Apr/2021 07:41:23] code 400, message Bad request version ('\x0f{ò=2\x00') | |
127.0.0.1 - - [16/Apr/2021 07:41:23] "üÏj7öã@26tN·&? | |
ÉÑÇ:}®gc)Zbs ß0þ ëBJ-Q¢ Â_¢Ï'f©jÍG× | |
{ò=2 " HTTPStatus.BAD_REQUEST - | |
127.0.0.1 - - [16/Apr/2021 07:41:23] code 400, message Bad request version ('localhost\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00') | |
127.0.0.1 - - [16/Apr/2021 07:41:23] "üÓF¤JIp"&ú(Ø6/¦ÖD~UòB¬ÍÕ@ ò9ûâeõÿjãAÙ7qÞ÷±ñwp@kA À+À/À,À0̨̩ÀÀ/5JJ | |
localhostÿ" HTTPStatus.BAD_REQUEST - | |
127.0.0.1 - - [16/Apr/2021 07:41:23] code 400, message Bad request version ('ñ»ÑÒã3ÒÉ\x08\x18\'¬µ\x9f@Î\x00"') | |
127.0.0.1 - - [16/Apr/2021 07:41:23] "ü¶RUAóÔ^¼A$?O,ï1í]´´@{ºu·Ç: å,}º£¶]m7]±÷õ ñ»ÑÒã3Ò'¬µ@Î"" HTTPStatus.BAD_REQUEST - | |
127.0.0.1 - - [16/Apr/2021 07:41:23] code 400, message Bad request version ('7g!\x83½!ZHVûy\x9ccð\x00"zz\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00') | |
127.0.0.1 - - [16/Apr/2021 07:41:23] "ü<Ò9į,äà@ûViEW9Ȭß!BEDSä ×'9¨Eßu%©×È7g!½!ZHVûycð"zzÀ+À/À,À0̨̩ÀÀ/5" HTTPStatus.BAD_REQUEST - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
click==7.1.2 | |
Flask==1.1.2 | |
itsdangerous==1.1.0 | |
Jinja2==2.11.3 | |
MarkupSafe==1.1.1 | |
Werkzeug==1.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/') | |
def hello(): | |
return 'Hello' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment