diff --git a/restemplate.lpr b/restemplate.lpr index 57d7a92..b00445d 100644 --- a/restemplate.lpr +++ b/restemplate.lpr @@ -70,9 +70,10 @@ var begin parser.Content := AHeader; parser.Replace; + AHeader := parser.Content; {$ifdef use_synapse} - http.Headers.Add(parser.Content); + http.Headers.Add(AHeader); {$endif} {$ifdef use_fclweb}