Skip to content

Commit

Permalink
Added mtPatch
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed Jun 30, 2021
1 parent 0e80d06 commit e3fc4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Horse.OctetStream.pas
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ procedure OctetStream(Req: THorseRequest; Res: THorseResponse; Next: {$IF DEFINE
LContent: TObject;
LContentTMemoryStream: TMemoryStream;
begin
if (Req.MethodType in [mtPost, mtPut]) and (Req.RawWebRequest.ContentType = CONTENT_TYPE) then
if (Req.MethodType in [mtPost, mtPut, mtPatch]) and (Req.RawWebRequest.ContentType = CONTENT_TYPE) then
begin
LContent := TMemoryStream.Create;
LContentTMemoryStream := TMemoryStream(LContent);
Expand Down

0 comments on commit e3fc4e9

Please sign in to comment.