Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » http client can't show response code
http client can't show response code [message #1848070] Fri, 19 November 2021 02:38
Hao Wang is currently offline Hao WangFriend
Messages: 2
Registered: November 2021
Junior Member
version: 2.0.0

I'm using an http client with two RDs.However, the response code and http content cannot be correctly displayed on the two RDs.

After reading the related code, I find that the problem is caused by the "fromString" function used in "apoRDs[0].fromString(responseCode.getValue())" in line 353 of the httplayer.cpp file. This function checks whether the character string contains "#", but the response code and content do not contain "#".

I'm not very familiar with the syntax of C++, but I'm sure it's the problem. Hopefully someone can fix this.

Thanks.
Previous Topic:4DIAC Forte Build with FreeRtos
Next Topic:How to use 4diac as http server
Goto Forum:
  


Current Time: Sat Apr 27 20:31:46 GMT 2024

Powered by FUDForum. Page generated in 0.02936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top