Lm th? no ? kch ho?t tnh nng chunked chuy?n m? ha v?i IIS

D?ch tiu ? D?ch tiu ?
ID c?a bi: 278998 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

? Trang ny

TM T?T

Bi vi?t ny m t? cch b?t chunked chuy?n m? ha v?i Internet Information Services (IIS).

HTTP ?c i?m k? thu?t khng cung c?p m?t cch ? ?m b?o truy?n d?n ng tin c?y c?a bi tr? l?i. ?c i?m k? thu?t HTTP 1.1 cho bi?t thm chuy?n m? ha nh l m?t cch ? lm cho n c th? m?t cch an ton v?n t?i th ?c g?i thng qua HTTP (xem RFC 2068). "Chunked" l lo?i h?nh chuy?n m? ha m n?i dung th l chuy?n ?n cc khch hng nh kh?i ?c ng d?u v?i kch th?c c?a cc kh?i (xem ph?n 14,40 s? RFC 2068). V?i chunked chuy?n m? ha, cc khch hng c th? H?y ch?c ch?n r?ng n ? nh?n ?c t?t c? cc d? li?u m my ch? s? g?i.

Chunked chuy?n m? ha l tng t? nh MIME m? ha trong lin quan ?n Internet th (xem RFC 822). Bi?t MIME, c? th? m? ha v chunked chuy?n m? ha ?c th?o lu?n trong ph?n 19,4 c?a RFC 2068.

Cho php Chunked chuy?n m? ha

? cho php chunked chuy?n m? ha, ?t gi tr? cho AspEnableChunkedEncoding ? S? th?t trong metabase cho cc trang web, my ch?, ho?c cc ?o th m?c m b?n mu?n cho php chunked chuy?n m? ha cho. Theo m?c ?nh, gi tr? l S? th?t, v n ?c ?t ? c?p ? d?ch v? Web. Thi?t l?p ny b?t ?ng s?n trong metabase:
  1. M du nhc lnh.
  2. Thay ?i th m?c Inetpub\Adminscripts.
  3. Ch?y sau y:
    ?t cscript adsutil.vbs/W3SVC/AspEnableChunkedEncoding "TRUE"
? bi?t thm chi ti?t, h?y truy c?p MSDN Web site sau:
AspEnableChunkedEncoding
http://www.Microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/c9b722e8-189f-4bfe-8716-70bf8d2271df.mspx

Gi d? lieu Chunked trong l?p tr?nh ISAPI

Trong giao di?n l?p tr?nh ?ng d?ng Internet Server (ISAPI) l?p tr?nh, n?u b?n mu?n g?i d? li?u chunked, thm m?t "Transfer-Encoding: chunked"tiu ?, v sau g?i cc d?ng chunked ng ?nh d?ng b?ng cch s? d?ng InternetWriteFile:
	POST / HTTP/1.1
	Host: x.x.x.x:port
	Connection: keep-alive
	TRANSFER-ENCODING: chunked
				

THAM KH?O

? bi?t thm chi ti?t, h?y truy c?p trang web RFC Web sau y:
RFC 1945: Giao th?c truy?n siu vn b?n--HTTP/1.0
http://www.RFC-Editor.org/RFC/rfc1945.txt

RFC 2068: Giao th?c truy?n siu vn b?n--HTTP/1.1
http://www.RFC-Editor.org/RFC/rfc2068.txt

Chu y Chunked chuy?n m? ha ?c ?nh ngh?a trong ph?n 3.6.
? bi?t thm thng tin v? MIME m? ha v? n c lin quan ?n Internet th, h?y truy c?p RFC Web site sau:
RFC 822: Tiu chu?n cho cc ?nh d?ng tin nh?n vn b?n ARAP Internet
http://www.RFC-Editor.org/RFC/rfc822.txt

Thu?c tnh

ID c?a bi: 278998 - L?n xem xt sau cng: 22 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Internet Information Services 6.0
T? kha:
kbhowto kbhowtomaster kbmt KB278998 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:278998

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com