Atozed Forums
hmDelete - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: hmDelete (/thread-2819.html)



hmDelete - andrianoz - 08-03-2022

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


RE: hmDelete - Alexandre Machado - 08-04-2022

I'm assuming that hmDelete is enabled in SecurityOptions.HttpMethods, is that correct?

Did you also test the Indy version?


RE: hmDelete - andrianoz - 08-04-2022

(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



RE: hmDelete - Alexandre Machado - 08-04-2022

I'll have a look and let you know


RE: hmDelete - Alexandre Machado - 08-05-2022

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


RE: hmDelete - andrianoz - 08-05-2022

(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!