Files
UnrealEngineUWP/Engine/Source/Programs/WebTestsServer/httptests/urls.py
lorry li 9ab1c34e02 Add mock_latency method in web tests server, prepare for timeout tests;
Add chunk latency param for streaming api in web tests server;
Make sure streaming api in web tests server can actually return response data by chunks in django asgi server.

#jira UE-197485
[REVIEW] [at]michael.kirzinger [at]michael.atchison [at]rafa.lecina
#rb michael.atchison, Michael.Kirzinger, Rafa.Lecina
#tests Tried in WebTests project

[CL 30669130 by lorry li in ue5-main branch]
2024-01-17 16:29:34 -05:00

16 lines
981 B
Python

from django.urls import path
from . import views
urlpatterns = [
path("httptests/methods", views.methods, name="methods"),
path("httptests/query_with_params/", views.query_with_params, name="query_with_params"),
path("httptests/get_large_response_without_chunks/<int:bytes_number>/", views.get_large_response_without_chunks, name="get_large_response_without_chunks"),
path("httptests/streaming_download/<int:chunks>/<int:chunk_size>/<int:chunk_latency>/", views.streaming_download, name="streaming_download"),
path("httptests/streaming_upload_post", views.streaming_upload_post, name="streaming_upload_post"),
path("httptests/streaming_upload_put", views.streaming_upload_put, name="streaming_upload_put"),
path("httptests/redirect_from", views.redirect_from, name="redirect_from"),
path("httptests/redirect_to", views.redirect_to, name="redirect_to"),
path("httptests/mock_latency/<int:latency>/", views.mock_latency, name="mock_latency"),
]