Hi,

Thanks for that observation. 

The content length may very well be the problem. 

I am using this to calculate the content length:

set content_length [string length [encoding convertto utf-8 $value]]

where value is the variable that holds the xml.

I am not familiar with other options. 

Thanks,

Thorpe


On Apr 25, 2013, at 8:55 AM, Stefan Sobernig <stefan.sober...@wu.ac.at> wrote:

> Thorpe,
> 
>> ns_set put $rqset "Content-length" "$content_length"
>> 
>> content length is only 1583
> 
> How do you compute the value stored in $content_length?
> 
> Are you aware of the trickiness when computing the (actual) byte length 
> from Tcl string reps?
> 
> [string length] vs [string bytelength] vs Tcl's charset encodings 
> (internal/external)
> 
> //stefan
> 
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> aolserver-talk mailing list
> aolserver-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/aolserver-talk
> 



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to