Skip to content

Random subdomain as upstream or multi upstream domain support #153

@Lalmi-Issam

Description

@Lalmi-Issam

I have issue related to static upstream in TestProxyView class i tried the following :

def home(request, path):
upstream = request.GET.get('a')
return ProxyView.as_view()(upstream)

I got
ERROR : dispatch() missing 1 required positional argument: 'path'

Tried also to catch get parameter from request object inside TestProxyView class

class TestProxyView(ProxyView, request):
upstream = request.GET.get('a')

I got
*ERROR : Name 'request' is undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions