質問編集履歴

1

##追記

2019/09/17 04:18

投稿

hantaer
hantaer

スコア4

test CHANGED
File without changes
test CHANGED
@@ -161,3 +161,65 @@
161
161
  質問が下手くそで申し訳ございません。
162
162
 
163
163
  どうぞよろしくお願いします。
164
+
165
+
166
+
167
+ ###追記 2019.9.17
168
+
169
+ 下記を実施したところこんな返りになりました
170
+
171
+ ```
172
+
173
+ @app.route('/')
174
+
175
+ def path1():
176
+
177
+
178
+
179
+ return request.url
180
+
181
+
182
+
183
+ ```
184
+
185
+ https://example.com/index.cgi/
186
+
187
+
188
+
189
+ ---
190
+
191
+ ```
192
+
193
+ @app.route('/path')
194
+
195
+ def path2():
196
+
197
+
198
+
199
+ return request.url
200
+
201
+ ```
202
+
203
+ https://example.com/index.cgi/path
204
+
205
+
206
+
207
+ ---
208
+
209
+ ```
210
+
211
+ @app.route('/index.cgi')
212
+
213
+ def path3():
214
+
215
+
216
+
217
+ return request.url
218
+
219
+ ```
220
+
221
+ https://example.com/index.cgi/
222
+
223
+
224
+
225
+ ---