cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Length Required Error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Oct 2010 08:30:58 +0200 (CEST)

On Wed, 27 Oct 2010, Tubati Narasimham wrote:

> curl -k -L -X POST -d @maxobj.xml

Note that '-X POST' is totally superfluous when you use -d...

> and i am getting the response as
>
> <h1>Length Required</h1>

That is probably the server-side complaining about the XML you send.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-28