def METHOD_NAME(
    initial_request: PipelineRequest[HTTPRequestType], method: str, url: str
) -> PipelineRequest[HTTPRequestType]:
    request = HttpRequest(method, url)
    context = PipelineContext(initial_request.context.transport, **initial_request.context.options)
    return PipelineRequest(request, context)