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
Basically if (request.raw.req.headers['content-type'].indexOf('application/x-www-form-urlencoded') === 0) should handle the case where request.raw.req.headers['content-type'] is undefined.
The text was updated successfully, but these errors were encountered:
The cause is https://github.com/mac-/ratify/blob/master/lib/RouteSchemaManager.js#L242.
Basically
if (request.raw.req.headers['content-type'].indexOf('application/x-www-form-urlencoded') === 0)
should handle the case whererequest.raw.req.headers['content-type']
is undefined.The text was updated successfully, but these errors were encountered: