PageRenderTime 28ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/lib/python/indra/ipc/httputil.py

https://bitbucket.org/lindenlab/viewer-beta/
Python | 30 lines | 4 code | 5 blank | 21 comment | 0 complexity | cfd36407529bc52b88e05b972347f423 MD5 | raw file
Possible License(s): LGPL-2.1
  1. #!/usr/bin/python
  2. ## $LicenseInfo:firstyear=2011&license=viewerlgpl$
  3. ## Second Life Viewer Source Code
  4. ## Copyright (C) 2011, Linden Research, Inc.
  5. ##
  6. ## This library is free software; you can redistribute it and/or
  7. ## modify it under the terms of the GNU Lesser General Public
  8. ## License as published by the Free Software Foundation;
  9. ## version 2.1 of the License only.
  10. ##
  11. ## This library is distributed in the hope that it will be useful,
  12. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. ## Lesser General Public License for more details.
  15. ##
  16. ## You should have received a copy of the GNU Lesser General Public
  17. ## License along with this library; if not, write to the Free Software
  18. ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. ##
  20. ## Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  21. ## $/LicenseInfo$
  22. import warnings
  23. warnings.warn("indra.ipc.httputil has been deprecated; use eventlet.httpc instead", DeprecationWarning, 2)
  24. from eventlet.httpc import *
  25. makeConnection = make_connection