File tree Expand file tree Collapse file tree 5 files changed +12
-9
lines changed
Expand file tree Collapse file tree 5 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22 <PropertyGroup>
33 <ProjectGuid>{409E1FA8-4DDC-4FFD-929F-8CDD72220CB5}</ProjectGuid>
4- <ProjectVersion>18.7 </ProjectVersion>
4+ <ProjectVersion>18.8 </ProjectVersion>
55 <FrameworkType>None</FrameworkType>
66 <MainSource>Samples.dpr</MainSource>
77 <Base>True</Base>
4949 <DCC_K>false</DCC_K>
5050 <DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
5151 <SanitizedProjectName>Samples</SanitizedProjectName>
52- <DCC_UnitSearchPath>..\..\src;$(DCC_UnitSearchPath); modules\.dcp;modules\.dcu;modules;modules\horse\src;modules\jhonson\src</DCC_UnitSearchPath>
52+ <DCC_UnitSearchPath>..\..\src;modules\.dcp;modules\.dcu;modules;modules\horse\src;modules\jhonson\src;$(DCC_UnitSearchPath) </DCC_UnitSearchPath>
5353 </PropertyGroup>
5454 <PropertyGroup Condition="'$(Base_Win32)'!=''">
5555 <DCC_UsePackage>DBXSqliteDriver;IndyIPCommon;RESTComponents;bindcompdbx;DBXInterBaseDriver;vcl;IndyIPServer;vclactnband;vclFireDAC;IndySystem;tethering;svnui;dsnapcon;FireDACADSDriver;FireDACMSAccDriver;fmxFireDAC;vclimg;FireDAC;vcltouch;vcldb;bindcompfmx;svn;FireDACSqliteDriver;FireDACPgDriver;inetdb;soaprtl;DbxCommonDriver;fmx;FireDACIBDriver;fmxdae;xmlrtl;soapmidas;fmxobj;vclwinx;rtl;DbxClientDriver;CustomIPTransport;vcldsnap;dbexpress;IndyCore;vclx;bindcomp;appanalytics;dsnap;FireDACCommon;IndyIPClient;bindcompvcl;RESTBackendComponents;VCLRESTComponents;soapserver;dbxcds;VclSmp;adortl;vclie;bindengine;DBXMySQLDriver;CloudService;dsnapxml;FireDACMySQLDriver;dbrtl;IndyProtocols;inetdbxpress;FireDACCommonODBC;FireDACCommonDriver;inet;fmxase;$(DCC_UsePackage)</DCC_UsePackage>
Original file line number Diff line number Diff line change 1212 },
1313 "github.com/hashload/jhonson" : {
1414 "name" : " jhonson" ,
15- "version" : " 1.1.2 " ,
16- "hash" : " 85d9b3c97b5144448440d7d26bdd16de " ,
15+ "version" : " 1.1.3 " ,
16+ "hash" : " 711f200029b2fc3aef76ab410ac5833a " ,
1717 "artifacts" : {},
1818 "failed" : false ,
1919 "changed" : false
Original file line number Diff line number Diff line change 4141 </Target >
4242 <SearchPaths >
4343 <IncludeFiles Value =" $(ProjOutDir)" />
44- <OtherUnitFiles Value =" ..\..\src;modules\horse\src;modules\jhonson\src" />
44+ <OtherUnitFiles Value =" ..\..\src;modules\.dcp;modules\.dcu;modules;modules\ horse\src;modules\jhonson\src" />
4545 <UnitOutputDirectory Value =" lib\$(TargetCPU)-$(TargetOS)" />
4646 </SearchPaths >
4747 <Other >
4848 <CustomOptions Value =" -dUseCThreads" />
4949 </Other >
5050 </CompilerOptions >
5151 <Debugging >
52- <Exceptions Count =" 3 " >
52+ <Exceptions Count =" 4 " >
5353 <Item1 >
5454 <Name Value =" EAbort" />
5555 </Item1 >
5959 <Item3 >
6060 <Name Value =" EFOpenError" />
6161 </Item3 >
62+ <Item4 >
63+ <Name Value =" EResNotFound" />
64+ </Item4 >
6265 </Exceptions >
6366 </Debugging >
6467</CONFIG >
Original file line number Diff line number Diff line change 1212 },
1313 "github.com/hashload/jhonson" : {
1414 "name" : " jhonson" ,
15- "version" : " 1.1.2 " ,
16- "hash" : " 85d9b3c97b5144448440d7d26bdd16de " ,
15+ "version" : " 1.1.3 " ,
16+ "hash" : " 711f200029b2fc3aef76ab410ac5833a " ,
1717 "artifacts" : {},
1818 "failed" : false ,
1919 "changed" : false
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ procedure Middleware(Req: THorseRequest; Res: THorseResponse; Next: {$IF DEFINED
4545 LContent := Res.Content;
4646 if (not Assigned(LContent)) or (not LContent.InheritsFrom({ $IF DEFINED(FPC)} TJsonData{ $ELSE} TJSONValue{ $ENDIF} )) then
4747 Exit;
48- if not Req.Headers.ContainsKey( ACCEPT_ENCODING) then
48+ if Trim( Req.Headers[ ACCEPT_ENCODING]) = EmptyStr then
4949 Exit;
5050 LAcceptEncoding := Req.Headers[ACCEPT_ENCODING].ToLower;
5151 if Pos(THorseCompressionType.DEFLATE.ToString, LAcceptEncoding) > 0 then
You can’t perform that action at this time.
0 commit comments