django-revproxy icon indicating copy to clipboard operation
django-revproxy copied to clipboard

Reverse Proxy view that supports all HTTP methods, Diazo transformations and Single Sign-On.

Results 34 django-revproxy issues
Sort by recently updated
recently updated
newest added

In my django app my base url is --> htps://api.abc.in/api_app/ I have written a rule in urls.py **re_path(r'^grafana(?P.*)', TestProxyView.TestProxyView.as_view()),** as per above rule when I hit **htps://api.abc.in/api_app/grafana** it redirect via...

Would be fantastic if WS proxying was supported, as many Django users have been moving to ASGI webservers. See [`asgiproxy`](https://github.com/valohai/asgiproxy/blob/master/asgiproxy/proxies/websocket.py) for inspiration.

enhancement
help wanted

The following deprecation warning gets emitted when using Python 3.11: ``` /home/vscode/.local/lib/python3.11/site-packages/revproxy/views.py:201: DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.1.0. Instead access HTTPResponse.headers directly. proxy_response.getheaders()) ```

May fix #183 deprecation warning. urrlib3 `response.headers` property is available in all versions supported by django-revproxy.

In the code utils.py/cookie_from_string() parses Cookie string and return "max_age" attribute value as string. Then the code sends this value to Django "set_cookie() revproxy/response.py ` if cookie_dict: response.set_cookie(**cookie_dict) ` Which...

updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0)

Hi there, I'm hosting Grafana behind this revproxy and it seems to be replacing %20 in the URL with "+" which causes 404 on Grafana API backend. E.g: curl http://admin:admin@localhost:8000/grafana/api/datasources/proxy/2/plant/detail/abelia%20dielsii/...

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 :...