thnx. for others:

ctx.transport.req_env.get("REMOTE_ADDR", "unknown")

azur


______________________________________________________________
> Od: "Burak Arslan" <[email protected]>
> Komu: azurIt <[email protected]>
> Dátum: 16.10.2011 23:14
> Predmet: Re: [Soap-Python] Getting client's IP address
>
> CC: [email protected]
>On 10/16/11 23:45, azurIt wrote:
>> Hi,
>>
>> i'm trying to get client's IP address with rpclib running under Apache + 
>> mod_wsgi but without success. Any hints ? Thnx.
>
>you have the wsgi environment at ctx.transport.req_env.
>
>look at:
>
>WsgiMethodContext documentation at:
>http://arskom.github.com/rpclib/reference/server.html
>https://github.com/arskom/rpclib/blob/master/src/rpclib/server/wsgi.py#L227
>
>best,
>burak
>
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to