Home | History | Annotate | Download | only in contrib

Lines Matching refs:http

7 #      http://www.apache.org/licenses/LICENSE-2.0
79 """Mock httplib2.Http"""
140 scope = 'http://www.googleapis.com/scope'
142 http = httplib2.Http()
144 credentials.refresh(http)
155 "http://www.googleapis.com/scope",
156 "http://www.googleapis.com/scope2"]
158 http = httplib2.Http()
159 credentials.refresh(http)
165 'http://www.googleapis.com/scope http://www.googleapis.com/scope2',
168 scope = ('http://www.googleapis.com/scope '
169 'http://www.googleapis.com/scope2')
171 http = httplib2.Http()
172 credentials.refresh(http)
175 'http://www.googleapis.com/scope http://www.googleapis.com/scope2',
179 scope = "http://www.googleapis.com/scope"
187 http = httplib2.Http()
188 credentials.refresh(http)
628 'wsgi.url_scheme': 'http',
633 self.httplib2_orig = httplib2.Http
634 httplib2.Http = Http2Mock
638 httplib2.Http = self.httplib2_orig
646 response = self.app.get('http://localhost/foo_path')
649 response = self.app.get('http://localhost/bar_path/1234/56')
663 response = self.app.get('http://localhost/foo_path')
667 self.assertEqual('http://localhost/oauth2callback',
671 self.assertEqual('http://localhost/foo_path',
685 self.assertEqual('http://localhost/foo_path', parts[0])
724 self.assertEqual('http://localhost/oauth2callback',
736 self.assertEqual('http://localhost/oauth2callback',
753 self.assertEqual('http://localhost/foo_path',
778 response = self.app.get('http://localhost/bar_path/2012/01')
784 self.assertEqual('http://localhost/oauth2callback',
788 self.assertEqual('http://localhost/bar_path/2012/01',
802 self.assertEqual('http://localhost/bar_path',
870 http = self.decorator.http()
872 http.request.credentials.access_token)