Removing JSON not used by scanner app
This commit is contained in:
committed by
Tucker Chase (CSC FI SPS MESLEO)
parent
653ba1619f
commit
fd55fe06a9
@ -423,14 +423,6 @@ CreateHALItem:
|
||||
jsonScan = Scan_Services('ConvertMVScanToJSON', ScanID, '', FullEndpointURL)
|
||||
|
||||
If Error_Services('NoError') then
|
||||
If SRP_JSON(objResource, 'Parse', jsonScan) EQ '' then
|
||||
lastModified = SRP_JSON(objResource, 'GetValue', 'lastModified')
|
||||
end else
|
||||
lastModified = ''
|
||||
end
|
||||
SRP_JSON(objResource, 'Release')
|
||||
HTTP_Services('SetResponseHeaderField', 'Content-Location', FullEndpointURL)
|
||||
HTTP_Services('SetResponseHeaderField', 'Last-Modified', lastModified)
|
||||
HTTP_Services('SetResponseBody', jsonScan, False$, 'application/hal+json')
|
||||
If Assigned(Message) then
|
||||
HTTP_Services('SetResponseStatus', StatusCode, Message)
|
||||
@ -444,3 +436,4 @@ CreateHALItem:
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user