Skip to content

Commit

Permalink
stop overriding request.json_body from webob
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Jan 5, 2019
1 parent d00d868 commit 2d8ab49
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/pyramid/request.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from collections import deque
import json

from zope.interface import implementer
from zope.interface.interface import InterfaceClass
Expand Down Expand Up @@ -229,10 +228,6 @@ def is_response(self, ob):
return False
return adapted is ob

@property
def json_body(self):
return json.loads(text_(self.body, self.charset))


def route_request_iface(name, bases=()):
# zope.interface treats the __name__ as the __doc__ and changes __name__
Expand Down

0 comments on commit 2d8ab49

Please sign in to comment.