Skip to content

UnsupportedWarning: Status message is not supported by HTTP/2 (RFC7540 8.1.2.4) #37

Closed

Description

@zefir-git

The following line triggers an UnsupportedWarning when using Http2SecureServer from module http2.

res.statusMessage = statuses[status]

What can be done to avoid this when using the HTTP2 protocol?

(node:1002309) UnsupportedWarning: Status message is not supported by HTTP/2 (RFC7540 8.1.2.4)
    at statusMessageWarn (internal/http2/compat.js:100:13)
    at Http2ServerResponse.set statusMessage [as statusMessage] (internal/http2/compat.js:628:5)
    at Array.write (/home/project/node_modules/finalhandler/index.js:279:23)
    at listener (/home/project/node_modules/on-finished/index.js:169:15)
    at onFinish (/home/project/node_modules/on-finished/index.js:100:5)
    at callback (/home/project/node_modules/ee-first/index.js:55:10)
    at Http2ServerRequest.onevent (/home/project/node_modules/ee-first/index.js:93:5)
    at Http2ServerRequest.emit (events.js:400:28)
    at Http2ServerRequest.emit (domain.js:470:12)
    at endReadableNT (internal/streams/readable.js:1317:12)

Activity

  1. dougwilson commented on Sep 13, 2021

    @dougwilson
    Contributor

    Duplicate of #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions