Skip to content

How to handle "Primary script unknown" error from php-fpm #1

@valichek

Description

@valichek

Now we get malformed MIME header line: Primary script unknown error on response like:

Primary script unknown
Status: 404 Not Found
X-Powered-By: PHP/7.0.1
Content-type: text/html; charset=UTF-8

File not found.

It's not obvious how to handle it, now we can just search for Primary script unknown and manually create http.Response with 404.

The response is "almost" valid.
Would be nice to get normal http response with 404 status from fcgiclient.

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