Http

To work with HTTP, Jet offers two classes. One for working with the Jet\Http_Request request and another for working primarily with HTTP response Jet\Http_Headers headers.

The purpose of both classes is of course to make routine work easier, but the Http_Request class has a relatively significant impact on security. Indeed, in the standard configuration, Jet prevents direct access to $_GET and $_POST. The data should be accessed indirectly and more securely via Jet\Http_Request.

Other than that, of course, there are several other useful features available.

Previous chapter
Jet\Auth
Next chapter
Jet\Http_Request