teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

##追記

2019/09/17 04:18

投稿

hantaer
hantaer

スコア4

title CHANGED
File without changes
body CHANGED
@@ -79,4 +79,35 @@
79
79
 
80
80
  コアサーバーを利用しています。
81
81
  質問が下手くそで申し訳ございません。
82
- どうぞよろしくお願いします。
82
+ どうぞよろしくお願いします。
83
+
84
+ ###追記 2019.9.17
85
+ 下記を実施したところこんな返りになりました
86
+ ```
87
+ @app.route('/')
88
+ def path1():
89
+
90
+ return request.url
91
+
92
+ ```
93
+ https://example.com/index.cgi/
94
+
95
+ ---
96
+ ```
97
+ @app.route('/path')
98
+ def path2():
99
+
100
+ return request.url
101
+ ```
102
+ https://example.com/index.cgi/path
103
+
104
+ ---
105
+ ```
106
+ @app.route('/index.cgi')
107
+ def path3():
108
+
109
+ return request.url
110
+ ```
111
+ https://example.com/index.cgi/
112
+
113
+ ---