Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread TServerRequestQueue IOS 11 WebKit
Fri, Oct 6 2017 8:45 AMPermanent Link

Bernd Schaaf

Hello,

since IOS 11 all Request.ResponseHeaders reading on RequestComplete Event from TServerRequestQueue has been the same content as on the first RequestComplete Event! - if i use single Requests (TServerReqests) instead of TServerRequestQueue everything is working fine - also with IOS < 11.



  
Fri, Oct 6 2017 11:22 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bernd,

Please post these types of issues in the General support forum.  This forum is reserved for component creation issues.

<< since IOS 11 all Request.ResponseHeaders reading on RequestComplete Event from TServerRequestQueue has been the same content as on the first RequestComplete Event! - if i use single Requests (TServerReqests) instead of TServerRequestQueue everything is working fine - also with IOS < 11. >>

Please send me a sample project that reproduces what you're seeing, and I'll take a look.




  

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Oct 6 2017 2:04 PMPermanent Link

Bernd Schaaf

Tim Young [Elevate Software] wrote:

Bernd,

Please post these types of issues in the General support forum.  This forum is reserved for component creation issues.

<< since IOS 11 all Request.ResponseHeaders reading on RequestComplete Event from TServerRequestQueue has been the same content as on the first RequestComplete Event! - if i use single Requests (TServerReqests) instead of TServerRequestQueue everything is working fine - also with IOS < 11. >>

Please send me a sample project that reproduces what you're seeing, and I'll take a look.

Hello Tim, i have send you a sample by email.

Bernd



  

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Oct 6 2017 2:04 PMPermanent Link

Bernd Schaaf

Tim Young [Elevate Software] wrote:

Bernd,

Please post these types of issues in the General support forum.  This forum is reserved for component creation issues.

<< since IOS 11 all Request.ResponseHeaders reading on RequestComplete Event from TServerRequestQueue has been the same content as on the first RequestComplete Event! - if i use single Requests (TServerReqests) instead of TServerRequestQueue everything is working fine - also with IOS < 11. >>

Please send me a sample project that reproduces what you're seeing, and I'll take a look.

Hello Tim, i have send you a sample by email.

Bernd



  

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Oct 6 2017 2:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bernd,

<< Hello Tim, i have send you a sample by email. >>

Thanks.  Per my email response:

I tried this here with a little EWB module that I created to echo back the method parameter:

unit unit1;

interface

uses SysUtils, Classes, DB, ewbhttpmodule, ewbhttpcommon;

type
 TEWBModule1 = class(TEWBModule)
   procedure EWBModuleExecute(Request: TEWBServerRequest);
 private
   { Private declarations }
 public
   { Public declarations }
 end;

var
 EWBModule1: TEWBModule1;

implementation

{$R *.dfm}

procedure TEWBModule1.EWBModuleExecute(Request: TEWBServerRequest); begin
  Request.ResponseHeaders.Add('Cache-Control: no-cache');
  case Request.RequestMethod of
     rmGet:
        Request.SendContent(Request.RequestParams.Values['method']);
     else
        Request.SendError(HTTP_BAD_REQUEST,'Invalid request');
     end;
end;

end.

And it works fine on an iPhone 5s running ios 11.01.  I'm also going to try ios 11.02, but I doubt that it will make a difference.

Is it possible that there's an issue with your service/API sending back the wrong response ?

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Oct 6 2017 4:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Nix that - the issue is with the response headers, not the response.

I've replicated this with IOS 11.02 Safari, but don't have a solution as of yet.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Oct 10 2017 9:34 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bernd,

There's a new 2.06 B8 available that fixes this issue.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Oct 10 2017 2:45 PMPermanent Link

Bernd Schaaf


Great, it works!

Thx

Bernd

Tim Young [Elevate Software] wrote:

Bernd,

There's a new 2.06 B8 available that fixes this issue.

Tim Young
Elevate Software
www.elevatesoft.com
Image