REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 969 B
Close
/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules/request/lib/cookies.js
Text
Base64
'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) }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
auth.js
4.67 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cookies.js
969 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getProxyFromURI.js
2.21 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
har.js
4.71 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
helpers.js
1.59 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
multipart.js
2.57 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
oauth.js
3.86 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
querystring.js
1.30 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
redirect.js
4.33 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
tunnel.js
4.43 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).