Skip to content

Commit

Permalink
Fix not being able to read response of requests
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Oct 7, 2019
1 parent dcc9ad6 commit e0faa50
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions collective/trustedimports/url.py
Expand Up @@ -8,5 +8,8 @@
ModuleSecurityInfo('urllib').declarePublic('quote')
ModuleSecurityInfo('urlparse').declarePublic('urlparse')
ModuleSecurityInfo('urlparse').declarePublic('urljoin')
import requests
ModuleSecurityInfo('requests')

import requests
ModuleSecurityInfo('requests').declarePublic('get')
ModuleSecurityInfo('requests').declarePublic('post')
allow_class(requests.models.Response)

0 comments on commit e0faa50

Please sign in to comment.