Skip to content

Commit 94dfd29

Browse files
committed
Merge branch 'master' of github.com:hapijs/hapi
2 parents 537e364 + d59a02f commit 94dfd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3099,7 +3099,7 @@ When using the `redirect()` method, the response object provides these additiona
30993099
- `isTemporary` - if `false`, sets status to permanent. Defaults to `true`.
31003100
- `permanent(isPermanent)` - sets the status code to `301` or `308` (based on the `rewritable()`
31013101
setting) where:
3102-
- `isPermanent` - if `true`, sets status to temporary. Defaults to `false`.
3102+
- `isPermanent` - if `false`, sets status to temporary. Defaults to `true`.
31033103
- `rewritable(isRewritable)` - sets the status code to `301`/`302` for rewritable (allows changing
31043104
the request method from 'POST' to 'GET') or `307`/`308` for non-rewritable (does not allow
31053105
changing the request method from 'POST' to 'GET'). Exact code based on the `temporary()` or

0 commit comments

Comments
 (0)