본문 바로가기
코딩/JAVA_HTMLCSS

Multipart

by 알 수 없는 사용자 2021. 8. 8.
728x90

Multipart 
웹클라이언트가 요청을 보낼때 , http프로토콜의 바디부분에 데이터를 여러 부분으로
나누어서 보내는 기능
웹클라이언트가 서버에게 파일을 업로드할때 HTTP 프로토콜의 바디 부분에 파일 정보를
담아 전송을 하는데 파일을 한번에 여러개 전송을 하게 되면 BODY 부분이 분할-연결되어
전송이된다
이렇게 여러 부분으로 나누어서 전송되는 데이터를 Multipart data 라한다

Syntax

<form enctype="value">

Attribute Values

ValueDescription

application/x-www-form-urlencoded Default. All characters are encoded before sent (spaces are converted to "+" symbols, and special characters are converted to ASCII HEX values)
multipart/form-data  This value is necessary if the user will upload a file through the form
text/plain Sends data without any encoding at all. Not recommended

 

http://tcpschool.com/html-tag-attrs/form-enctype

 

코딩교육 티씨피스쿨

4차산업혁명, 코딩교육, 소프트웨어교육, 코딩기초, SW코딩, 기초코딩부터 자바 파이썬 등

tcpschool.com

https://www.w3schools.com/tags/att_form_enctype.asp

 

HTML form enctype Attribute

HTML enctype Attribute ❮ HTML tag Example Send form-data encoded as "multipart/form-data":

   

www.w3schools.com

참고: MultipartConfig_(https://letsgoit39.tistory.com/31)

728x90