Atozed Forums

Full Version: hmDelete
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
I'm assuming that hmDelete is enabled in SecurityOptions.HttpMethods, is that correct?

Did you also test the Indy version?
(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
I'll have a look and let you know
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, 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!