[WIP] Implement Secure File Upload Endpoint for CDN Management#10
Draft
LearnHD wants to merge 6 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Secure File Upload Endpoint for CDN Management
Description
Task
Create POST /upload endpoint for file uploads
Acceptance Criteria
Summary of Work
This pull request adds a robust POST /upload endpoint for file uploads in the CDN management server. The implementation focuses on secure file handling, validation, and generating appropriate responses for successful and failed upload attempts.
Changes Made
Tests
Signatures
Staking Key
EneX3W6ko45B6NfuXut7HVGFCx1SEFuVEhmkoHaRWVtf: 34pekVWxY93ceWWU5PBBBFrsoYqZ1jrokUem8ix2TqwKwt2bkVvSVYLehCmS8oaqwqVtTMk7ihF2UybLfFXmbia5u12b9x3SBzB8GgJXhe8iTFgX1hNSke79k1fGzgnEyUQxLb4m2JGgHMP9uB3krzncGotRcViuvWUHmjWTtPX1zCU66E4SiDRsDjYm6db74fr8MGtxQyBobKwoVpgNtCRJAbgcLEnmUNFV5zyUfvgZrJjcLwdwB2UZz71XUtKMncp8gsFcHbbynJt8rWhnSCb7GP2XvpGHyV6XMakGtUHtWEGY4DTGMysfyRjGTARkcdwBqKiyWZP5XuVRcUTLWZxGM8gScPDmVGZYvfA3xukxMwz63efY8iXmFQdrREunPPmhVUy5hsSkt39xUEARX7Jj4fCVNJixC
Public Key
4J9StZv3hsEBcDJocdasRoroQJ5EQQYzfr2Xto3JstAo: 8V2pNDS5t98aGyJazSfQEyyDuDBDFUKpB4gaukKcUVxEbBiqq84C1GWxh3cTaCvSJoy4YR8h336kbFD8r343REz81Q9soUu1Z8LiaSWyT4b5oQJVk63RkDAVAjJ8ot9qoDs7Ti6e82C4J2roSroJnSoHsXFWWui7nvyARNYwMF6b88La3ie4nRcokZnNWhPSnHEP5r1ySFvMBwJPxrGTmY27zcPiE3S4QdtdvMfPUPF4fAyGzbZE7wnPsJMsBeyJnB15mUWsSrXHtVkGipQY9D2Bgrdbiy18rNR645JLX8R4ghQtPEHAcf3YrYZasucZCAEFUSf3eimiJKMq7gpNBH1ReiAEfK4h7Fx4ZDMsue7fqyCdmHCTZkHxo1uwfBCSNa8Z5jnQkYic9cjHmcz48XqSjpSdfcxHA