Re: [pylons-discuss] Suggested way to issue requests from inside a view callable

2018-05-01 Thread Michael Merickel
requests is great and is what I use. There is a little-known feature in webob that probably deserves a mention though. You can build a webob.Request object and call send() or get_response() on it to get back a webob.Response object from the third party. It uses the stdlib http.client under the

Re: [pylons-discuss] Suggested way to issue requests from inside a view callable

2018-05-01 Thread Steve Piercy
On 4/30/18 at 10:23 PM, jens.troe...@gmail.com pronounced: > I guess following up on the thread on Pyramid’s sub-requests > , what is the recommended way to issue a > (synchronous) request to an external server from within a view callable? > Using the requests

[pylons-discuss] Suggested way to issue requests from inside a view callable

2018-04-30 Thread jens . troeger
Hello, I guess following up on the thread on Pyramid’s sub-requests , what is the recommended way to issue a (synchronous) request to an external server from within a view callable? Using the requests package, or are