Edit this page

up.Request up.Request.prototype.wrapMethod
Property

Whether to wrap non-standard HTTP methods in a POST request.

If this is set, methods other than GET and POST will be converted to a POST request and carry their original method as a _method parameter. This is to prevent unexpected redirect behavior.

Defaults to up.network.config.

Value

wrapMethod boolean