test.Client.trace()

trace(path, follow=False, secure=False, **extra) [source]

Makes a TRACE request on the provided path and returns a Response object. Useful for simulating diagnostic probes.

Unlike the other request methods, data is not provided as a keyword parameter in order to comply with RFC 7231#section-4.3.8, which mandates that TRACE requests must not have a body.

The follow, secure, and extra arguments act the same as for Client.get().

doc_Django
2016-10-09 18:39:57
Comments
Leave a Comment

Please login to continue.