Skip to content

psgi.input being undef causes exceptions elsewhere #23

@hoytech

Description

@hoytech

In the docs it says

Feersum currently passes undef for psgi.input when there is no body to avoid unnecessary work.

Which makes sense, except it causes HTTP::Entity::Parser to throw an exception:

Can't call method "seek" on an undefined value at /usr/local/share/perl/5.22.1/HTTP/Entity/Parser.pm line 71.

I opened an issue there too: kazeburo/HTTP-Entity-Parser#6

I'm not exactly clear on the PSGI spec's take on this, but it seems to say it must be an IO::Handle-like object?

Thanks,

Doug

Metadata

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