-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An empty response as a result of the request #421
Comments
Isn't the problem that the response contains a header:
|
As far as I understand, no. For example, the following request returns correct data:
For the sake of interest, I tried another request:
And I get an empty response. The difference in requests is apparently only in these two symbols in the link (denoting different types of transport) |
Version of the custom_component
v7.2.0
Configuration
Describe the bug
As a result of the request, I get an empty response (error code 200). At the same time, if I make a request to this address without the last two characters "%f2%f0" ("тр" in Russian in Win-1251 encoding), then the correct data is received in response.
Previously, I used an almost identical configuration in rest requests and everything worked as it should. Therefore, I assume that these two characters are the reason for the empty response. Unfortunately, to refuse them means to receive incorrect data.
This query also returns data if you use it in the browser or in the curl command.
I have tried many ways to write this query, but I did not get the answer I needed.
Debug log
page_soup.txt
The text was updated successfully, but these errors were encountered: