navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

How to force IIS to return chunked content?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> Computer Software and Hardware issues >> How to force IIS to return chunked content?
Page: [1]
 
oleg

 

Posts: 7
Joined: 7/18/2005
Status: offline

 
How to force IIS to return chunked content? - 9/15/2006 12:23:29   
Does anybody know how to force IIS to return chunked content? I need this mode for testing, but I can't do this. I know that this is possible.
Chunked transfer encoding is written in rfc2616

< Message edited by oleg -- 9/15/2006 12:30:56 >
rdouglass

 

Posts: 9272
From: Biddeford, ME USA
Status: offline

 
RE: How to force IIS to return chunked content? - 9/15/2006 12:32:23   
Hi and Welcome to Outfront.

IIRC you can't force it. You can add it in the header and if the client supports it it will be in effect. (Unless you're dealing with XML.)

As in:

Transfer-Encoding: chunked



_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to oleg)
oleg

 

Posts: 7
Joined: 7/18/2005
Status: offline

 
RE: How to force IIS to return chunked content? - 9/15/2006 13:37:34   
I know. But one man sent me headers from their server like this

GET http: //localhost/4xpdev/productie/PerformanceList.asp HTTP/1.1
Accept: */*
Referer: http://localhost/4xpdev/
Accept-Language: nl
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: localhost
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: 4xpdev%5Flit=9%2F15%2F2006+10%3A00%3A17+AM; 4xpdev%5Flip=martijn; 4xpdev%5Flin=Martijn; ASPSESSIONIDACQDACDA=AAIDKKDBLHIIFEHFHHFCPPBC; ASPSESSIONIDCATADDCA=GIODKLDBHFIIICLBKNBEIAPG

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Fri, 15 Sep 2006 09:51:26 GMT
Content-Type: text/html
Expires: Fri, 15 Sep 2006 09:50:25 GMT
Cache-control: private
Transfer-Encoding: chunked

I don't understand how it can be possible.

Simple HTML pages was returned by ordinary way, but ASP pages with chunked content-encoding.

(in reply to rdouglass)
oleg

 

Posts: 7
Joined: 7/18/2005
Status: offline

 
RE: How to force IIS to return chunked content? - 9/15/2006 13:41:56   
Pay attention that response doesn't contain "Content-Length" field.
Thus, it is a fully chunked content

(in reply to oleg)
rdouglass

 

Posts: 9272
From: Biddeford, ME USA
Status: offline

 
RE: How to force IIS to return chunked content? - 9/15/2006 14:18:35   
quote:

Pay attention that response doesn't contain "Content-Length" field.
Thus, it is a fully chunked content


Not real sure what you're saying here. Is tyhis a statement or a question? Has your issue been resolved?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to oleg)
oleg

 

Posts: 7
Joined: 7/18/2005
Status: offline

 
RE: How to force IIS to return chunked content? - 9/15/2006 14:34:53   
I need to test this situation locally (on my computer or local server), but I can't simulate this. Can you help me?

(in reply to rdouglass)
rdouglass

 

Posts: 9272
From: Biddeford, ME USA
Status: offline

 
RE: How to force IIS to return chunked content? - 9/15/2006 15:10:07   
IIRC it's done in IIS by right-click the web, select properties, and edit the HTTP Headers section.

Although, are you sure you're not working with XML data? That's the only place I've ever seen chunking applied. Why you'd do it with HTML, I have no idea...

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to oleg)
oleg

 

Posts: 7
Joined: 7/18/2005
Status: offline

 
RE: How to force IIS to return chunked content? - 9/16/2006 2:33:12   
quote:

IIRC it's done in IIS by right-click the web, select properties, and edit the HTTP Headers section.

This is not enough to implement chunked encoding protocol.
My client said that him server work correctly but he had some problems. We cleared up, that him server returns chunked content when browser requests ASP page (see my messages above), and returns ordinary response when you request static HTML page, like this:

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Fri, 15 Sep 2006 09:51:29 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Wed, 06 Sep 2006 09:20:00 GMT
ETag: "40abd0a095d1c61:993"
Content-Length: 3227

I try to understand how was this happened? Also I want to simulate this situation in my computer.

(in reply to rdouglass)
oleg

 

Posts: 7
Joined: 7/18/2005
Status: offline

 
RE: How to force IIS to return chunked content? - 9/24/2006 4:45:28   
BTW, I got chunked mode in IIS ! :)

Just it's necessary to include the following string at the beginning of ASP script:
Response.Buffer = false

In this case IIS sends the response in chunked mode.

Maybe, there are some another methods to force chunked mode.

(in reply to oleg)
Page:   [1]

All Forums >> Community >> Computer Software and Hardware issues >> How to force IIS to return chunked content?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts