You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the first matching version is used when no Accept header is
100
-
supplied. This behavior is similar to routing in Rails.
101
-
To circumvent this default behaviour, one could use the `:strict` option. When
102
-
this option is set to `true`, a `404 Not found` error is returned when no
103
-
correct Accept header is supplied.
112
+
supplied. This behavior is similar to routing in Rails. To circumvent this default behaviour,
113
+
one could use the `:strict` option. When this option is set to `true`, a `404 Not found` error
114
+
is returned when no correct Accept header is supplied.
104
115
105
116
Serialization takes place automatically. For more detailed usage information,
106
117
please visit the [Grape Wiki](http://github.com/intridea/grape/wiki).
@@ -211,7 +222,9 @@ end
211
222
212
223
## Content-Types
213
224
214
-
By default, Grape supports _XML_, _JSON_, _Atom_, _RSS_, and _text_ content-types. Your API can declare additional types to support. Response format is determined by the request's extension or `Accept` header.
225
+
By default, Grape supports _XML_, _JSON_, _Atom_, _RSS_, and _text_ content-types.
226
+
Your API can declare additional types to support. Response format is determined by the
0 commit comments