Hi,

I am having a problem with POST method and cookie.

When just CURLOPT_POSTFIELDS and CURLOPT_POSTFIELDSIZE are set I can see
correct Content-Length header in the outgoing request.

Problem starts when I also set CURLOPT_COOKIE, then I can see valid Cookie
header in the request but Content-Length is suddenly missing.

Changing the order of actions (first cookie then post) doesn't work either
(I thought maybe I was overwriting header with CUROPT_COOKIE)

What is happening?

Regards,
Szymon Gatner
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to