Support for Node.js 8 native http2

Đang mở
#122 17 bình luận 17 reaction 1 người được giao Xem trên GitHub

@bjohansebas đang làm issue này rồi.

Từ ngày 17/1/2025.

  • #127 của @maritz — đã đóng, không merge
  • #211 của @bjohansebas — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

help wanted

Sorry for opening another issue on this topic (#77, #78), but I'm trying out the new native http2 support in Node.js and compression (1.7.1) fails with:

TypeError: this._implicitHeader is not a function
    at Http2ServerResponse.write (node_modules/compression/index.js:84:14)

As far as I see it, this method isn't part of the public API of http.ServerResponse. Shouldn't compression simply call if (!this.headersSent) this.writeHead(this.statusCode) (in a helper function) instead of depending on undocumented API?

Ngôn ngữ chính
JavaScript
Star
2.8k
Fork
262
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của expressjs/compression

Tất cả issue của expressjs/compression

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.