Welcome! Log In Create A New Profile

Advanced

WX26 Support for http/2

Posted by Mike James 
WX26 Support for http/2
June 25, 2021 03:04AM
It appears that WX26 products only support http/1.1 protocol in (eg) httpResponse variable.

Does anyone know whether/when PCSoft will support http/2?
Argus
Re: WX26 Support for http/2
June 25, 2021 02:04PM
isn't the choice of protocol between a browser and a web server a negotiation between them (ie IIS or Apache on the server side)...

Why do you think that WEBDEV is the cause of your problem?
Re: WX26 Support for http/2
June 26, 2021 04:29AM
Hi Argus,

In a Windev project we using HTTPSend to post data to a cloud app. The httpResponse variable is returning a header including "http/1.1", but we know that the cloud app supports http/2.

So we thought that HTTPSend is limited to http/1.1, and posted here.
Re: WX26 Support for http/2
June 27, 2021 11:05PM
We have found a project description setting (Advanced tab), "Rendering engine for HTML controls...", which was set to IE8, have changed it to "latest IE/Edge", and are now receiving responses in http/2. Testing continues.
Re: WX26 Support for http/2
June 28, 2021 11:32PM
Further to this, we are also using HTTPGetResult(httpHeader) to extract header details from the last HTTPSend operation, and we note that the response is always http/1.1, even though HTTPSend returns a response (now that we have corrected the project description) using http/2.

The Help for HTTPGetResult reads in part: "The protocol returned by HTTPGetResult with the httpHeader constant is always 1.1 (even if the server is 1.0)". This function appears to need updating.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: