Hello

I had problems with the new Internet Explorer 11 and GZip compressed 
http-resonses. I use NTK for the webserver technology, and if the size of the 
response is > 5 Kb then I use the NTK command GZip Compress Blob.
But you have to test if the browser is IE, and then remove the first 2 bytes of 
the compressed data.
No with IE11, Microsoft changed the User-Agent header line: 

<=IE10 e.g.
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

IE11 e.g.
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko

There is no more MSIE in the User-Agent line.

I changed the IE Test and search now for "MSIE" or "Trident" 

(original source-code comes from the NKT Demo Database)

...
$1->:=GZip Compress Blob ($1->;GZip Default Compression)

  // Workaround for Internet Explorer which implements RFC 1951 instead of RFC 
1950
  $userAgent:=HTTPD_GetHTTPHeader ("User-Agent")

If ((Position("MSIE"; userAgent)>0) |(Position("Trident"; userAgent)>0) )
     // Remove the first 2 bytes for MS Internet Explorer
     DELETE FROM BLOB($1->;0;2)
End if 
...

When not delete the first 2 bytes, IE 11 will not show the website (same as 
IE9, IE10)

It could be, that some of you have to do similar changes.

Oh, and think about your userAgent test's in javascript … 


Regards, Oliver
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to