cgi and headers

2007-08-12 Thread kalin mintchev

hi there...

i'm starting to work with python cgi scripts using ajax.
one problem i have is that the cgi module doesn;t do (apparently) anything
without the -- print "Content-type: text/html\n" -- line in the script.

the issue is that the output of the script has to be an xml file and not
an html. it's not really a problem for any normal browser but the retarded
explorer thing doesn;t process the xml unless it gets back the xml header.

so my scripts work fine on mozilla but not in explorer because of the
missing xml header.

what would be the correct solution for this?

thanks



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cgi and headers

2007-08-12 Thread kalin mintchev

nevermind...  i'm not sure why the xml header didn;t work before and now
it does...  thanks

>
> hi there...
>
> i'm starting to work with python cgi scripts using ajax.
> one problem i have is that the cgi module doesn;t do (apparently) anything
> without the -- print "Content-type: text/html\n" -- line in the script.
>
> the issue is that the output of the script has to be an xml file and not
> an html. it's not really a problem for any normal browser but the retarded
> explorer thing doesn;t process the xml unless it gets back the xml header.
>
> so my scripts work fine on mozilla but not in explorer because of the
> missing xml header.
>
> what would be the correct solution for this?
>
> thanks
>
>
>


-- 
http://mail.python.org/mailman/listinfo/python-list


mailman.bounces

2007-10-08 Thread kalin mintchev

hi all..

i'm a bit confused by the bounces behavior of mailman. the idea is that
each address from which a bounce comes back should be immediately removed
from the list. right now they are not. or testing i'm purposely putting
addresses that do not exist. in the mail log i get:

stat=Deferred: Connection timed out with dd.com

is that considered 'soft' or 'hard' bounce severity. is it considered
bounce at all?

here are the relevant settings:

Should Mailman perform automatic bounce processing?  => Yes

The maximum member bounce score before the member's subscription is
disabled. This value can be a floating point number. => 0.0  (tested 1.0
and 0.1 also)

The number of days after which a member's bounce information is discarded,
if no new bounces have been received in the interim. This value must be an
integer. => 7

How many Your Membership Is Disabled warnings a disabled member should get
before their address is removed from the mailing list. Set to 0 to
immediately remove an address from the list once their bounce score
exceeds the threshold. This value must be an integer.  => 0


thanks

-- 
http://mail.python.org/mailman/listinfo/python-list