MCPcopy Index your code
hub / github.com/scality/cloudserver / getURI

Function getURI

lib/utilities/serverAccessLogger.js:365–374  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

363}
364
365function getURI(request) {
366 let requestURI = null;
367 if (request) {
368 const method = request.method || 'UNKNOWN';
369 const url = request.url || '/';
370 const httpVersion = request.httpVersion || '1.1';
371 requestURI = `${method} ${url} HTTP/${httpVersion}`;
372 }
373 return requestURI;
374}
375
376const objectSizePutMethods = Object.freeze({
377 'objectPut': true,

Callers 2

logServerAccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected