The item parts the API serves as XML or a plain file (edm RDF/XML, the source record's XML,
the citation's BIB file): item() returns them as text (and bytes). Every other part is
JSON, whatever the answer's Content-Type says, so an HTML page in its place (a captive portal,
a wrong base URL) is a DdbParseError, never data. Frozen.
The item parts the API serves as XML or a plain file (edm RDF/XML, the source record's XML, the citation's BIB file):
item()returns them astext(andbytes). Every other part is JSON, whatever the answer's Content-Type says, so an HTML page in its place (a captive portal, a wrong base URL) is a DdbParseError, never data. Frozen.