Improve documentation regarding response.headers
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của developit/redaxios
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Mock redaxios with vi.mock() Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Does redaxios support adaptor? Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
State of the project ? Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
Tất cả issue của developit/redaxios
Issue tương tự
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Improve Title Support Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·