mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 07:17:23 +02:00
TurboPower_IPro: remove leading and trailing spaces of ContentType in TIpHttpDataProvider.CheckURL
git-svn-id: trunk@53994 -
This commit is contained in:
parent
df696ddabc
commit
d0311c6a2c
@ -132,7 +132,7 @@ begin
|
|||||||
{$IF FPC_FULLVERSION > 30000}or FClient.IsRedirect(FClient.ResponseStatusCode){$ENDIF};
|
{$IF FPC_FULLVERSION > 30000}or FClient.IsRedirect(FClient.ResponseStatusCode){$ENDIF};
|
||||||
if Result then
|
if Result then
|
||||||
begin
|
begin
|
||||||
FContentType := FClient.ResponseHeaders.Values['Content-Type'];
|
FContentType := AllTrimSpaces(FClient.ResponseHeaders.Values['Content-Type']);
|
||||||
AContentType := FContentType;
|
AContentType := FContentType;
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
Loading…
Reference in New Issue
Block a user