Skip to content

return "content" as bytea #172

Closed
Closed
@PaulVladescu

Description

"To access binary content, you must coerce the content from the default varchar representation to a bytea representation using the text_to_bytea function. Using the default varchar::bytea cast will not work, as the cast will stop the first time it hits a zero-valued byte (common in binary data).
"
Composite type "public.http_response"
Column | Type | Modifiers
--------------+-------------------+-----------
status | integer |
content_type | character varying |
headers | http_header[] |
content | character varying |

Why not returning the "content" as bytea

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions