Skip to content

Commit

Permalink
fixup: jsdoc ref in callPostObject handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Toozs committed Jul 17, 2024
1 parent 99b0c26 commit 252205a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/apiUtils/apiCallers/callPostObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const fs = require('fs');
const path = require('path');
const os = require('os');

// per doc: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTForms.html#HTTPPOSTFormDeclaration
/** @see doc: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTForms.html#HTTPPOSTFormDeclaration */
const MAX_FIELD_SIZE = 20 * 1024; // 20KB
// per doc: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
/** @see doc: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html */
const MAX_KEY_SIZE = 1024;

async function authenticateRequest(request, requestContexts, log) {
Expand Down

0 comments on commit 252205a

Please sign in to comment.