Skip to content

Allow binary data in response #7

Open
@jonathanstowe

Description

@jonathanstowe

Hi Jonathan,

I am having trouble serving binary files with FastCGI::NativeCall::PSGI

I have traced this through to a call to XS_Print which takes a C-style string, so there seems to be no way to send binary data via FastCGI::NativeCall.

I have successfully hacked around it by adding a XS_Write that takes a length argument (and a Write method that takes a Blob instead of Str.) I am just wondering if I missed something and I'm using the API wrong, or if this is actually a missing feature.

Regards
Aleks

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions