mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 21:18:01 +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 Result then
|
||||
begin
|
||||
FContentType := FClient.ResponseHeaders.Values['Content-Type'];
|
||||
FContentType := AllTrimSpaces(FClient.ResponseHeaders.Values['Content-Type']);
|
||||
AContentType := FContentType;
|
||||
end;
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user