Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Fix DNS response check #186

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

sekulicd
Copy link
Contributor

@sekulicd sekulicd commented Nov 7, 2023

Regression issue introduced by [PR 178](Bugfix in check_dns_exists)

Example response header from dns:
{'Access-Control-Allow-Headers': 'Content-Type, Authorization', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH', 'Access-Control-Allow-Origin': 'http://localhost:1420', 'Content-Type': 'application/json; charset=utf-8', 'Date': 'Tue, 07 Nov 2023 13:58:30 GMT', 'Content-Length': '74'}

It was failing cause content type is application/json; charset=utf-8 and not application/json as expected.

@tiero @nsosio please review.

@tiero tiero merged commit 2aa64bb into premAI-io:main Nov 7, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants