$31 GRAYBYTE WORDPRESS FILE MANAGER $60

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

/usr/lib/node_modules/npm/node_modules/make-fetch-happen/

HOME
Current File : /usr/lib/node_modules/npm/node_modules/make-fetch-happen//warning.js
const url = require('url')

module.exports = setWarning

function setWarning (reqOrRes, code, message, replace) {
  //   Warning    = "Warning" ":" 1#warning-value
  // warning-value = warn-code SP warn-agent SP warn-text [SP warn-date]
  // warn-code  = 3DIGIT
  // warn-agent = ( host [ ":" port ] ) | pseudonym
  //                 ; the name or pseudonym of the server adding
  //                 ; the Warning header, for use in debugging
  // warn-text  = quoted-string
  // warn-date  = <"> HTTP-date <">
  // (https://tools.ietf.org/html/rfc2616#section-14.46)
  const host = url.parse(reqOrRes.url).host
  const jsonMessage = JSON.stringify(message)
  const jsonDate = JSON.stringify(new Date().toUTCString())
  const header = replace ? 'set' : 'append'

  reqOrRes.headers[header](
    'Warning',
    `${code} ${host} ${jsonMessage} ${jsonDate}`
  )
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 8.02 AM
root / root
0755
CHANGELOG.md
18.561 KB
10 Mar 2021 9.36 PM
root / root
0644
LICENSE
0.737 KB
10 Mar 2021 9.36 PM
root / root
0644
README.md
16.479 KB
10 Mar 2021 9.36 PM
root / root
0644
agent.js
4.457 KB
10 Mar 2021 9.36 PM
root / root
0644
cache.js
7.63 KB
10 Mar 2021 9.36 PM
root / root
0644
index.js
13.459 KB
10 Mar 2021 9.36 PM
root / root
0644
package.json
2.749 KB
10 Mar 2021 9.36 PM
root / root
0644
warning.js
0.842 KB
10 Mar 2021 9.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF