HttpRequest.get_port()
[source]
New in Django 1.9.
Returns the originating port of the request using information from the HTTP_X_FORWARDED_PORT
(if USE_X_FORWARDED_PORT
is enabled) and SERVER_PORT
META
variables, in that order.
HttpRequest.get_port()
[source]
Returns the originating port of the request using information from the HTTP_X_FORWARDED_PORT
(if USE_X_FORWARDED_PORT
is enabled) and SERVER_PORT
META
variables, in that order.
Please login to continue.