Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^9: Determining content-length for an HTTP Post

by WizardOfUz (Friar)
on Nov 26, 2009 at 11:43 UTC ( [id://809540]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Determining content-length for an HTTP Post
in thread Determining content-length for an HTTP Post

Of course, the use bytes / length() solution is not perfect (just see my examples [5] and [6] above). But it is a reasonable approach considering that we do not know what the OP's $xmldata is and that "normal" users are usually not fiddling with the UTF-8 flag.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://809540]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-18 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found