Skip to content

Commit 80c2604

Browse files
author
Dean Karn
authored
Add HTTP 404 to non retryable status codes (#51)
1 parent 917a81e commit 80c2604

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [5.29.1] - 2024-04-04
10+
### Fixed
11+
- Added HTTP 404 to non retryable status codes.
12+
913
## [5.29.0] - 2024-03-24
1014
### Added
1115
- `asciiext` package for ASCII related functions.
@@ -128,7 +132,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
128132
### Added
129133
- Added `timext.NanoTime` for fast low level monotonic time with nanosecond precision.
130134

131-
[Unreleased]: https://github.com/go-playground/pkg/compare/v5.29.0...HEAD
135+
[Unreleased]: https://github.com/go-playground/pkg/compare/v5.29.1...HEAD
136+
[5.29.1]: https://github.com/go-playground/pkg/compare/v5.29.0..v5.29.1
132137
[5.29.0]: https://github.com/go-playground/pkg/compare/v5.28.1..v5.29.0
133138
[5.28.1]: https://github.com/go-playground/pkg/compare/v5.28.0..v5.28.1
134139
[5.28.0]: https://github.com/go-playground/pkg/compare/v5.27.0..v5.28.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pkg
22

3-
![Project status](https://img.shields.io/badge/version-5.29.0-green.svg)
3+
![Project status](https://img.shields.io/badge/version-5.29.1-green.svg)
44
[![Lint & Test](https://github.com/go-playground/pkg/actions/workflows/go.yml/badge.svg)](https://github.com/go-playground/pkg/actions/workflows/go.yml)
55
[![Coverage Status](https://coveralls.io/repos/github/go-playground/pkg/badge.svg?branch=master)](https://coveralls.io/github/go-playground/pkg?branch=master)
66
[![GoDoc](https://godoc.org/github.com/go-playground/pkg?status.svg)](https://pkg.go.dev/mod/github.com/go-playground/pkg/v5)

net/http/retryable.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ var (
3333
http.StatusBadRequest: true,
3434
http.StatusUnauthorized: true,
3535
http.StatusForbidden: true,
36+
http.StatusNotFound: true,
3637
http.StatusMethodNotAllowed: true,
3738
http.StatusNotAcceptable: true,
3839
http.StatusProxyAuthRequired: true,

0 commit comments

Comments
 (0)