[mod_python] long argument string is being truncated

Joe Landau jrl at versaform.com
Fri Jun 13 13:02:53 EDT 2008


Graham, 

Unfortunately I am using a program (in PowerBuilder) to create this data, not a form.  But I 
assume from your reply that there is no way to get the full string from the URL, so I will have 
to generate a POST.

Could you point me toward a mod_python example of processing a POST?   

Thanks, 

Joe Landau

On 13 Jun 2008 at 12:07, Graham Dumpleton wrote:

Date sent:      	Fri, 13 Jun 2008 12:07:47 +1000
From:           	"Graham Dumpleton" <graham.dumpleton at gmail.com>
To:             	"Joe Landau" <jrl at versaform.com>
Subject:        	Re: [mod_python] long argument string is being truncated
Copies to:      	mod_python at modpython.org

> Use method="POST", not method="GET" in your HTML input form. Arguments
> then go as body of post and not in URL.
> 
> 2008/6/13 Joe Landau <jrl at versaform.com>:
> > In my first python/mod_python/apache effort, I've been successful at
> > retrieving short arguments using FieldStorage.  However, when I try a longer
> > argument, a little over 1000 bytes, It seems to be truncated at 600-some
> > bytes.  When I write req.args to my log, I see the truncated string.  But
> > the apache log access.log shows the entire string, so it is getting that far
> > at least. Can anyone help?
> > Joe Landau
> > Joe Landau                            jrl at versaform.com
> > VersaForm Systems Corp.               (408) 370 2662
> > 591 W. Hamilton Ave., # 230           Campbell, CA 95008
> > Excellence in Medical Software        http://www.versaform.com
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> >
> >


Joe Landau                            jrl at versaform.com 
VersaForm Systems Corp.               (408) 370 2662
591 W. Hamilton Ave., # 230           Campbell, CA 95008
Excellence in Medical Software        http://www.versaform.com



More information about the Mod_python mailing list