# s3api_per_key_metadata

s3key: file-to-base64.html
headers:
ETag: "be867b3492c782c6a0f1e01c99461a44"
accept: */*
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.5
authorization: LOW wdaVEUscc5lVLP20:REDACTED_BY_IA_S3
cache-control: no-cache
connection: close
content-length: 626
content-type: multipart/form-data; charset=UTF-8
dnt: 1
host: s3.us.archive.org
origin: https://archive.org
referer: https://archive.org/
user-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
x-amz-acl: bucket-owner-full-control
x-amz-auto-make-bucket: 1
x-archive-interactive-priority: 1
x-archive-meta-mediatype: uri(texts)
x-archive-meta01-collection: uri(opensource)
x-archive-meta01-description: uri(This%20file%20was%20stored%20at%20%22C%3A%5CUsers%5Cuser%5CDocuments%5Cfile-to-base64.html%22%3Cbr%3E%3Cbr%3EYour%20web%20browsers%20needs%20to%20have%20JavaScript%20enabled%20in%20order%20for%20this%20to%20work.%20Complete%20source%20code%20of%20HTML%20file%20%22file-to-base64.html%22%3A%3Cbr%3E%26lt%3Bpre%26gt%3B%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3B!DOCTYPE%20html%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Bhtml%20lang%3D%22en%22%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Bhead%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Bmeta%20charset%3D%22utf-8%22%20%2F%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Btitle%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3BFile%20to%20Base64%20with%20JavaScript%20in%20400%20characters%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3B%2Ftitle%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3B%2Fhead%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Binput%20type%3D%22file%22%20%2F%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Bp%20id%3D%22out%22%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3B%2Fp%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3Bscript%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3Evar%20input%20%3D%20document.querySelector('input%5Btype%3Dfile%5D')%3B%3Cbr%3Einput.onchange%20%3D%20function%20()%3Cbr%3E%7B%3Cbr%3E%26nbsp%3B%20var%20file%20%3D%20input.files%5B0%5D%2C%3Cbr%3E%26nbsp%3B%20reader%20%3D%20new%20FileReader()%3B%3Cbr%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20reader.onloadend%20%3D%20function%20()%3Cbr%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3Cbr%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20var%20b64%20%3D%20reader.result%3Cbr%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20.replace(%2F%5Edata%3A.%2B%3Bbase64%2C%2F%2C%20'')%3B%20%2F*comment%20out%20this%20line%20for%20Base64%20as%20a%20data%20URI*%2F%3Cbr%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20document.getElementById(%22out%22).innerHTML%20%3D%20b64%3B%3Cbr%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3B%3Cbr%3E%26nbsp%3B%20reader.readAsDataURL(file)%3B%3Cbr%3E%7D%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3B%2Fscript%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%3Cbr%3E%26lt%3Bspan%26gt%3B%26lt%3B%26lt%3B%2Fspan%26gt%3B%2Fhtml%26lt%3Bspan%26gt%3B%26gt%3B%26lt%3B%2Fspan%26gt%3B%26lt%3B%2Fpre%26gt%3B%3Cbr%3ESources%3A%3Cbr%3E*%20Add%20where%20I%20got%20the%20code%20from%2C%20which%20I%20later%20modified%20%5Bdone%20-%20no%5D%3Cbr%3E*%20400%20characters%20inside%20the%20script%20tag%2C%20according%20to%20https%3A%2F%2Fthewordcounter.com%2Fcharacter-counter%2F%3Cbr%3E*%20Valid%20HTML%20according%20to%20https%3A%2F%2Fvalidator.w3.org%2Fnu%2F%23file%3Cbr%3E)
x-archive-meta01-language: uri(eng)
x-archive-meta01-scanner: uri(Internet%20Archive%20HTML5%20Uploader%201.6.4)
x-archive-meta01-subject: uri(file%20to%20Base64%3B%20Base64%3B%20file%20encoding%3B%20file%20to%20Base64%20converter%3B%20JavaScript%3B%20JavaScript%20tool)
x-archive-meta01-title: uri(File%20to%20Base64%20with%20JavaScript%20in%20400%20characters)
x-archive-size-hint: 626
x-file-name: uri(file-to-base64.html)
x-file-size: 626
x-ias3-encoded-key: file-to-base64.html
x-ias3-upload-bytes-per-second: 4596.079142
x-ias3-upload-duration: 0.136203
x-ias3-upload-start-time: 1594524865.238283
x-requested-with: XMLHttpRequest
x-upload-date: 2020-07-12T03:34:25.000Z


