Re: Best practices sending out http requests from within django code

2008-04-22 Thread DanB
Guys, thank you all for tips. All clear now. Cheers, DanB On Apr 19, 1:55 am, Peter Rowell <[EMAIL PROTECTED]> wrote: > > I've been using urllib2 very effectively - do be careful with it though > > I second this (both halves). Very easy to use. > > The only gotcha I encountered was making sure

Re: Best practices sending out http requests from within django code

2008-04-18 Thread Peter Rowell
> I've been using urllib2 very effectively - do be careful with it though I second this (both halves). Very easy to use. The only gotcha I encountered was making sure I correctly handled various failure modes for the connection. This was the backend credit card handshake for a membership site an

Re: Best practices sending out http requests from within django code

2008-04-18 Thread Joseph Heck
I've been using urllib2 very effectively - do be careful with it though - assuming you're planning on using it in view code - the time it spends waiting for something is the time that your user spends waiting. -joe On Thu, Apr 17, 2008 at 4:31 PM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: >

Re: Best practices sending out http requests from within django code

2008-04-17 Thread Russell Keith-Magee
On Fri, Apr 18, 2008 at 12:51 AM, Dan-Cristian Bogos <[EMAIL PROTECTED]> wrote: > Folks, > > I was wondering what is the best way to send out http requests from within > django. Shall I use an external library (like urllib) or use some django > internals? > Eg: I want to POST some info on some oth

Best practices sending out http requests from within django code

2008-04-17 Thread Dan-Cristian Bogos
Folks, I was wondering what is the best way to send out http requests from within django. Shall I use an external library (like urllib) or use some django internals? Eg: I want to POST some info on some other django site. Ta, DanB --~--~-~--~~~---~--~~ You receive