USES IdMultipartFormData;
Procedure TForm1. Button2Click (Sender: TObject);
Var
Data: TIdMultipartFormDataStream;
The begin
Data:=TIdMultipartFormDataStream. Create;
Data. AddFormField (' cz ', 'value of 2%).
The end;
CodePudding user response:
Estimation is not support some of special characters, see what AddFormField source codeCodePudding user response:
Seemingly keyword conflict?CodePudding user response:
Assignment, will call GetFieldSize function, this function code is as follows:The function TIdFormDataField. GetFieldSize: LongInt;
The begin
.
FFieldSize:=Length (the Format (' - '+ (Collection as TIdFormDataFields). FParentStream. A Boundary +
CRLF + sContentDisposition + CRLF + CRLF + FFieldValue + CRLF, [FieldName]));
.
The end;
The Format of
CodePudding user response:
Seems to lack formatting format templates,