#1 2016-11-29 16:17:42

Stemon63
Member
Registered: 2016-10-24
Posts: 49

Custom header on CallBackPut() request ...

Hi,
how I can add custom headers in a Fclient.CallbackPut ?
I intend to send upload file and chunk information into request header, with (binary and compressed) data into body;
Thanks in advance!
Stefano

Offline

#2 2016-11-29 17:20:48

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: Custom header on CallBackPut() request ...

The easiest may be to put this information in the URI.

You can set your own headers by putting a pointer reference to a local RawUTF8 variable in the aResponseHead parameter.

Offline

Board footer

Powered by FluxBB