Permalink
Browse files

typo fix

  • Loading branch information...
1 parent a8a3015 commit 2be51412fdcc1f870e6db523010bd56baa57937d @plq committed Aug 6, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 doc/source/manual/usermanager.rst
  2. +3 −0 spyne/server/twisted/__init__.py
View
2 doc/source/manual/usermanager.rst
@@ -108,7 +108,7 @@ here: http://github.com/arskom/spyne/blob/master/examples/user_manager/server_ba
server.serve_forever()
-Juping into what's new: Spyne uses ``ComplexModel`` as a general type that,
+Jumping into what's new: Spyne uses ``ComplexModel`` as a general type that,
when subclassed, will produce complex serializable types that can be used in a
public service. The ``Permission`` class is a fairly simple class with just
two members: ::
View
3 spyne/server/twisted/__init__.py
@@ -17,6 +17,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
#
+
"""This module contains a server implementation that uses a Twisted Web Resource
as transport.
@@ -105,6 +106,7 @@ def stopProducing(self):
Exception("Consumer asked us to stop producing"))
self.deferred = None
+
class TwistedHttpTransport(HttpBase):
@staticmethod
def decompose_incoming_envelope(prot, ctx, message):
@@ -123,6 +125,7 @@ def decompose_incoming_envelope(prot, ctx, message):
ctx.in_header_doc = request.headers
ctx.in_body_doc = request.args
+
class TwistedWebResource(Resource):
"""A server transport that exposes the application as a twisted web
Resource.

0 comments on commit 2be5141

Please sign in to comment.