clean up file structure
This commit is contained in:
19
zefie_wtvp_minisrv/includes/ServiceVault/wtv-cookie/get.js
Normal file
19
zefie_wtvp_minisrv/includes/ServiceVault/wtv-cookie/get.js
Normal file
@@ -0,0 +1,19 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
if (request_headers.post_data) {
|
||||
if (request_headers.query.domain && request_headers.query.path) {
|
||||
if (socket.ssid) {
|
||||
if (session_data) {
|
||||
data = session_data.getCookieString(request_headers.query.domain, request_headers.query.path);
|
||||
headers = "200 OK\n";
|
||||
headers += "Content-Type: text/plain";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!headers) {
|
||||
var errpage = wtvshared.doErrorPage(400)
|
||||
headers = errpage[0];
|
||||
data = errpage[1];
|
||||
}
|
||||
Reference in New Issue
Block a user