Skip to content

Commit

Permalink
Handle variant SHL request
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Feb 27, 2025
1 parent e8f5acf commit e799001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/endpoint_shl.pas
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function TSHLWebServer.PlainRequest(AContext: TIdContext; ip: String; request: T
result := processCreate(request, response, c)
else if (request.CommandType = hcPOST) and (request.Document = PathWithSlash+'upload') then
result := processUpload(request, response, c)
else if (request.CommandType = hcGET) and (request.Document.length > PathWithSlash.length) then
else if ((request.CommandType = hcGET) or (request.CommandType = hcPOST)) and (request.Document.length > PathWithSlash.length) then
begin
c.sql := 'select * from SHL where uuid = :u';
c.prepare;
Expand Down
3 changes: 2 additions & 1 deletion server/fhirserver.lpi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="12"/>
Expand Down Expand Up @@ -1017,7 +1018,7 @@
<Name Value="EPackageCrawlerException"/>
</Item50>
<Item51>
<Name Value="&lt;Unknown Class&gt;"/>
<Name Value="&lt;Unknown Class>"/>
</Item51>
<Item52>
<Name Value="EDateFormatError"/>
Expand Down

0 comments on commit e799001

Please sign in to comment.