Hi, I’m trying to POST an xml-file to a server, but I receive a “500 Internal error” from the server. I get the following output from verbose debug:
== Info: Re-using existing connection! (#0) with host (nil) == Info: Connected to (nil) (204.128.28.103) port 443 (#0) => Send header, 0000000393 bytes (0x00000189) 0000: POST ***.aspx HTTP/1.1 0029: Host: ***.com 0049: Accept: */* 0056: ProviderID: *** 0088: RegistrationNumber: *** 00c2: ClientVersion: *** 00db: ClientPartNumber: *** 00f5: JobID: *** 0106: DataType: 512 0115: Transfer-Encoding: chunked 0131: ChunkIndex: 0 0140: Content-Type: application/x-www-form-urlencoded 0171: Expect: 100-continue 0187: == Info: additional stuff not fine transfer.c:1037: 0 0 == Info: HTTP 1.1 or later with persistent connection, pipelining supported <= Recv header, 0000000023 bytes (0x00000017) 0000: HTTP/1.1 100 Continue == Info: additional stuff not fine transfer.c:1037: 0 0 => Send data, 0000006061 bytes (0x000017ad) 0000: 17a5 0006: <?xml version="1.0" encoding="utf-8"?> 002e: <AccessoryData version="1.0" acquisition_date_time="2010-12-12T2 006e: 0:01:02.0000000-08:00"> … etc The xml-file is 6053 bytes, and as you can see curl has added a line “0000: 17a5”. How can I make curl NOT adding this line? Regards, /Bo
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
