Show
Ignore:
Timestamp:
07/03/08 22:16:07 (5 months ago)
Author:
thijs
Message:

Fix issue #317: Server name in HTTP response.

Patch by: thijs
Review by: nick

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pyamf/trunk/pyamf/remoting/gateway/__init__.py

    r1441 r1474  
    88""" 
    99 
     10import platform 
    1011import types 
    1112 
    1213import pyamf 
    1314from pyamf import remoting, logging, util 
     15 
     16SERVER_NAME = 'PyAMF/%s Python/%s' % ( 
     17    '.'.join(map(lambda x: str(x), pyamf.__version__)), 
     18    platform.python_version() 
     19) 
    1420 
    1521fault_alias = pyamf.get_class_alias(remoting.ErrorFault)