Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Improve documentation regarding response.headers

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với tài liệu Redaxios và so sánh các tham chiếu đến Axios trong đó với API Fetch-style response.headers được mô tả trong issue. Ghi lại rằng Content-Disposition được lấy bằng response.headers.get('Content-Disposition'), giải thích những khác biệt liên quan so với Axios và nêu rõ rằng Redaxios không phải là một bản thay thế drop-in cho Axios.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The Redaxios documentation refers us to the Axios documentation but that's not correct for some features. In the case of response.headers if we were to follow the Axios documentation to retrieve say Content-Disposition it would look like this:

response.headers['Content-Disposition']

However, redaxios has forwarded the fetch api response interface that is like so:

response.headers.get('Content-Disposition')

It would be nice to have better documentation that points out the differences between Axios and Redaxios and further highlights that redaxios is definitely not a drop-in replacement for axios.

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 developit/redaxios

Tất cả issue của developit/redaxios

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.