평가 전에 설명용 이미지로 만들기….
POST /upload HTTP/1.1
Host: foo.example
Content-Type: application/pdf
Content-Length: 1234..
# binary pdf file content
POST /test HTTP/1.1
Host: foo.example
Content-Type: multipart/form-data;boundary="boundary"
--boundary
Content-Disposition: form-data; name="field1"
value1
--boundary
Content-Disposition: form-data; name="field2"; filename="example.txt"
value2
--boundary--
Example of multipart/form-data
<form action="<http://www.foo.com>" method="POST">
<div>
<label for="say">What greeting do you want to say?</label>
<input name="say" id="say" value="Hi" />
</div>
<div>
<label for="to">Who do you want to say it to?</label>
<input name="to" id="to" value="Mom" />
</div>
<div>
<button type="submit">Send my greetings</button>
</div>
</form>
Sending form data - Learn web development | MDN
파일 upload 관련 nginx config
https://stackoverflow.com/questions/43241067/upload-files-to-nginx
파이썬 파일 업로드 CGI 프로그램
https://www.tutorialspoint.com/How-do-we-do-a-file-upload-using-Python-CGI-Programming