Paste #34175: Untitled Paste

Date: 2016/06/10 05:24:19 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


// <--[event]
    // @Events
    // GET request
    //
    // @Cancellable false
    //
    // @Triggers when the web server receives a GET request
    //
    // @Context
    // <context.request> Returns the path that was requested
    // <context.query> Returns a dList of the query included with the request
    //
    // @Determine
    // Element (Raw HTML) to set the content of the response directly
    // Element (File path) to specify the HTML file to reply with
    // "CODE:" + Element to set the HTTP status code of the response
    // "TYPE:" + Element to set the MIME (multi purpose mail extension) of the response
    //
    // @Plugin Webizen
    //
    // -->