$68 GRAYBYTE WORDPRESS FILE MANAGER $69

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/request/lib/

HOME
Current File : /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/request/lib//cookies.js
'use strict'

var tough = require('tough-cookie')

var Cookie = tough.Cookie
  , CookieJar = tough.CookieJar


exports.parse = function(str) {
  if (str && str.uri) {
    str = str.uri
  }
  if (typeof str !== 'string') {
    throw new Error('The cookie function only accepts STRING as param')
  }
  return Cookie.parse(str, {loose: true})
}

// Adapt the sometimes-Async api of tough.CookieJar to our requirements
function RequestJar(store) {
  var self = this
  self._jar = new CookieJar(store, {looseMode: true})
}
RequestJar.prototype.setCookie = function(cookieOrStr, uri, options) {
  var self = this
  return self._jar.setCookieSync(cookieOrStr, uri, options || {})
}
RequestJar.prototype.getCookieString = function(uri) {
  var self = this
  return self._jar.getCookieStringSync(uri)
}
RequestJar.prototype.getCookies = function(uri) {
  var self = this
  return self._jar.getCookiesSync(uri)
}

exports.jar = function(store) {
  return new RequestJar(store)
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 8.00 AM
root / root
0
auth.js
4.665 KB
28 Sep 2021 4.36 PM
root / root
0644
cookies.js
0.946 KB
28 Sep 2021 4.36 PM
root / root
0644
getProxyFromURI.js
2.215 KB
28 Sep 2021 4.36 PM
root / root
0644
har.js
4.708 KB
28 Sep 2021 4.36 PM
root / root
0644
helpers.js
1.586 KB
28 Sep 2021 4.36 PM
root / root
0644
multipart.js
2.571 KB
28 Sep 2021 4.36 PM
root / root
0644
oauth.js
3.861 KB
28 Sep 2021 4.36 PM
root / root
0644
querystring.js
1.302 KB
28 Sep 2021 4.36 PM
root / root
0644
redirect.js
4.328 KB
28 Sep 2021 4.36 PM
root / root
0644
tunnel.js
4.431 KB
28 Sep 2021 4.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF