cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP POST limitation

From: Thomas Hurst <tom.hurst_at_clara.net>
Date: Wed, 28 Nov 2001 22:55:54 +0000

* David Burley (BurleyD_at_rct.dyndns.org) wrote:

> There seems to be a limitation with the HTTP POST Request (-d
> flag). The request seems to truncate and send on another line when it
> hits a certain length (which is at less than 400 characters). Is this
> a real limitation under all platforms or only under Cygwin? Anyone
> have a workaround for this? I have a lot of data I need to post...

Most, if not all systems have limits on the length of arguments that can
be passed to a program. If you have a lot of data, put it in a temp
file and use -d @file rather than -d foo=bar.

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
Received on 2001-11-28