|
<< Click to Display Table of Contents >> Navigation: Forum > hmDelete |
08-03-2022, 09:55 PM:
Hi!!
In run mode (Http.sys - x86) the hmDelete method failsIn run mode (Http.sys - x86) the hmDelete method fails
Also it doesn't work
with THandlers.Add('/API/', '', TContentAPI .Create) do begin
CanStartSession := True;
RequiresSessionStart := False;
RequiresSession := False;
end;
405 - Method Not Allowed
Version iw15.2.65
08-04-2022, 01:28 AM:
I'm assuming that hmDelete is enabled in SecurityOptions.HttpMethods, is that correct?
Did you also test the Indy version?
08-04-2022, 04:03 PM:
(08-04-2022, 01:28 AM)Alexandre Machado Wrote: [ -> ]I'm assuming that hmDelete is enabled in SecurityOptions.HttpMethods, is that correct?
Did you also test the Indy version?hmDelete in SecurityOptions.HttpMethods
enabled!
Indy did not test! I need work on https + basic auth protocol
Rolled back to version iw15.2.48
In version iw15.2.48 it comes as hmNone method
08-04-2022, 09:47 PM:
I'll have a look and let you know
08-05-2022, 07:20 AM:
I can confirm that the issue exists, although I'm still investigating why. I suspect that this is due to a undetected Delphi "unexpected" behavior while streaming properties (or a bug?).
Anyway I'm working on a fix/workaround ATM
Cheers
08-05-2022, 05:31 PM:
(08-05-2022, 07:20 AM)Alexandre Machado Wrote: [ -> ]I can confirm that the issue exists, although I'm still investigating why. I suspect that this is due to a undetected Delphi "unexpected" behavior while streaming properties (or a bug?).
Anyway I'm working on a fix/workaround ATM
Cheers
Thanks!