Replies: 2 comments
|
I have created a ticket to add this to Indy: #690. In the meantime, you can send type
TIdHTTPAccess = class(TIdHTTP)
end;
var
RequestBody, ResponseBody: TStream;
RequestBody := ...;
ResponseBody := ...;
TIdHTTPAccess(IdHTTP1).DoRequest('QUERY', URL, RequestBody, ResponseBody, [200]);A new public IdHTTP1.CustomRequest('QUERY', URL, RequestBody, ResponseBody, [200]);If you want to handle procedure TMyForm.IdHTTPServer1CommandOther(AContext: TIdContext;
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
begin
if ARequestInfo.Command = 'QUERY' then
begin
...
end;
end; |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A new method is defined by the IETF is described in the RFC10008 here: https://www.rfc-editor.org/rfc/rfc10008.html
All reactions