[fpc-pascal] Re: fpweb and reading the contents of a request
Sven Barth
pascaldragon at googlemail.com
Tue Oct 18 11:39:46 CEST 2011
Am 18.10.2011 11:35, schrieb herux:
> Try using Indy or Synapse as HttpClient to send data content using HTTP POST
> with the parameters as you mean. my FPWeb success to do it using PHP via
> CURL.
>
> I guess this is not a limitation of HTTP, just not the standard for web
> scripting
One should at least consider the following statement from
http://en.wikipedia.org/wiki/HTTP#Safe_methods :
Some methods (for example, HEAD, GET, OPTIONS and TRACE) are defined as
safe, which means they are intended only for information retrieval and
should not change the state of the server. In other words, they should
not have side effects, beyond relatively harmless effects such as
logging, caching, the serving of banner advertisements or incrementing a
web counter. Making arbitrary GET requests without regard to the context
of the application's state should therefore be considered safe.
Regards,
Sven
More information about the fpc-pascal
mailing list