Skip to content

Commit

Permalink
Add HTTP 404 to non retryable status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
deankarn committed Apr 4, 2024
1 parent 917a81e commit abecf03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.29.1] - 2024-04-04
### Fixed
- Added HTTP 404 to non retryable status codes.

## [5.29.0] - 2024-03-24
### Added
- `asciiext` package for ASCII related functions.
Expand Down Expand Up @@ -128,7 +132,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `timext.NanoTime` for fast low level monotonic time with nanosecond precision.

[Unreleased]: https://github.com/go-playground/pkg/compare/v5.29.0...HEAD
[Unreleased]: https://github.com/go-playground/pkg/compare/v5.29.1...HEAD
[5.29.1]: https://github.com/go-playground/pkg/compare/v5.29.0..v5.29.1
[5.29.0]: https://github.com/go-playground/pkg/compare/v5.28.1..v5.29.0
[5.28.1]: https://github.com/go-playground/pkg/compare/v5.28.0..v5.28.1
[5.28.0]: https://github.com/go-playground/pkg/compare/v5.27.0..v5.28.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pkg

![Project status](https://img.shields.io/badge/version-5.29.0-green.svg)
![Project status](https://img.shields.io/badge/version-5.29.1-green.svg)
[![Lint & Test](https://github.com/go-playground/pkg/actions/workflows/go.yml/badge.svg)](https://github.com/go-playground/pkg/actions/workflows/go.yml)
[![Coverage Status](https://coveralls.io/repos/github/go-playground/pkg/badge.svg?branch=master)](https://coveralls.io/github/go-playground/pkg?branch=master)
[![GoDoc](https://godoc.org/github.com/go-playground/pkg?status.svg)](https://pkg.go.dev/mod/github.com/go-playground/pkg/v5)
Expand Down
1 change: 1 addition & 0 deletions net/http/retryable.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var (
http.StatusBadRequest: true,
http.StatusUnauthorized: true,
http.StatusForbidden: true,
http.StatusNotFound: true,
http.StatusMethodNotAllowed: true,
http.StatusNotAcceptable: true,
http.StatusProxyAuthRequired: true,
Expand Down

0 comments on commit abecf03

Please sign in to comment.