You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to using the API to query the Cloudflare DNS, but it returns a MIME type of application/dns-json, which throws the warning:
Called .text() on an HTTP body which does not appear to be text. The body's Content-Type is "application/dns-json". The result will probably be corrupted. Consider checking the Content-Type header before interpreting entities as text.
I am trying to using the API to query the Cloudflare DNS, but it returns a MIME type of
application/dns-json
, which throws the warning:Looking at:
workerd/src/workerd/util/mimetype.c++
Line 397 in 0e4d887
subtype.includes("json")
? Not sure of possible implications vsendsWith()
, as previously suggested.This is a continuation of #528. Apologies if I should have commented on that one instead of opening a new Issue.
The text was updated successfully, but these errors were encountered: