Re: Terminate HTTP connection

2007-07-28 Thread Malcolm Tredinnick

On Fri, 2007-07-20 at 07:36 -0700, [EMAIL PROTECTED] wrote:
> Hi,
> Can I terminate a connect without receiving all HTTP request
> package? I have to check if there are some important data, if not,
> just terminate it.

No. This doesn't actually make sense for something like Django. By the
time Django receives the call, the web server will have already received
the data. So you can't short-circuit anything there and the HTTP request
from the client is complete at that point.

Regards,
Malcolm



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Terminate HTTP connection

2007-07-20 Thread meledictas

Hi,
Can I terminate a connect without receiving all HTTP request
package? I have to check if there are some important data, if not,
just terminate it.

Thank


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---