Skip to content

Commit 0fdf327

Browse files
Nicholas Pufaldblock
authored andcommitted
Improve docs related to the Accept-Version Header (#1417)
1 parent 7d1b3e3 commit 0fdf327

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ Using this versioning strategy, clients should pass the desired version in the H
372372
By default, the first matching version is used when no `Accept-Version` header is
373373
supplied. This behavior is similar to routing in Rails. To circumvent this default behavior,
374374
one could use the `:strict` option. When this option is set to `true`, a `406 Not Acceptable` error
375-
is returned when no correct `Accept` header is supplied.
375+
is returned when no correct `Accept` header is supplied and the `:cascade` option is set to `false`.
376+
Otherwise a `404 Not Found` error is returned by Rack if no other route matches.
376377

377378
### Param
378379

0 commit comments

Comments
 (0)