# 전송 방식

1. 단순 전송
2. 압축 전송
3. 분할 전송
4. 범위 전송

단순 전송\
Content-Length

![](https://3778596469-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdjOVfCTIpivzhg1Bzh%2F-Mdp6D1xAVKP0s5Hga5i%2F-Mdp6sqfqkIakEj3b51y%2F%E1%84%83%E1%85%A1%E1%86%AB%E1%84%89%E1%85%AE%E1%86%AB%20%E1%84%8C%E1%85%A5%E1%86%AB%E1%84%89%E1%85%A9%E1%86%BC.png?alt=media\&token=1a9ac889-0a40-4700-b6e8-e8c02953d794)

압축 전송\
Content-Encoding

![](https://3778596469-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdjOVfCTIpivzhg1Bzh%2F-Mdp6D1xAVKP0s5Hga5i%2F-Mdp71fidc3WNy0YbBbE%2F%E1%84%8B%E1%85%A1%E1%86%B8%E1%84%8E%E1%85%AE%E1%86%A8%20%E1%84%8C%E1%85%A5%E1%86%AB%E1%84%89%E1%85%A9%E1%86%BC\(%E1%84%8B%E1%85%A1%E1%86%B8%E1%84%8E%E1%85%AE%E1%86%A8%20%E1%84%8C%E1%85%A5%E1%86%BC%E1%84%87%E1%85%A9%20%E1%84%91%E1%85%A9%E1%84%92%E1%85%A1%E1%86%B7\).png?alt=media\&token=31be6654-434d-4619-aa4e-aa6c9cbb72a4)

분할 전송\
Transfer-Encoding

Content-Length를 넣으면 안된다!\
왜냐하면 처음에 Content-Length가 예상되지 않을 뿐더러 청크 단위로 쪼개서 보내고, _청크마다 바이트 정보(길이 정보)가 있기 때문에_ Content-Length를 보내면 안된다.

![](https://3778596469-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdjOVfCTIpivzhg1Bzh%2F-Mdp73Z_KpNEtnFqFHim%2F-Mdp7BJZBglmrqG-xTrv%2FScreen%20Shot%202021-07-05%20at%202.25.05%20PM.png?alt=media\&token=6a250e13-54df-484b-b40f-2f0f6841e1a3)

범위 전송\
Range, Content-Range

![](https://3778596469-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdjOVfCTIpivzhg1Bzh%2F-Mdp7GAK9vAgVUlct93Z%2F-Mdp7R4Y3yJ-6Z2nzgbT%2FScreen%20Shot%202021-07-05%20at%202.26.08%20PM.png?alt=media\&token=ce671e9e-a800-4218-b509-424b6116ee2d)
