Chunked client POST support in ASP
Chunked client POST support in ASP
am 05.02.2007 15:25:01 von jeron
The release notes for IIS 6.0 talks about ASP support for POSTs from clients
that are using chunked Transfer-encoding.
Does anyone know what this support means? It does not seem to be possible to
use Request.BinaryRead, and Request.TotalBytes returns -1.
Thanks
RE: Chunked client POST support in ASP
am 06.02.2007 03:23:32 von lukezhan
Hello,
For IIS 6.0 default insatllation, we need run a script command to enable
chunked transfer encoding:
cscript adsutil.vbs set /W3SVC/AspEnableChunkedEncoding "TRUE"
For detailed information on this, you may refer to:
http://support.microsoft.com/kb/278998
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: Chunked client POST support in ASP
am 06.02.2007 14:28:02 von jeron
Luke, thanks for the reply!
I've tried setting the metabase property, but nothing changes.
Request.TotalBytes is till -1.
From the Knowledgebase article I get the impression that this property
controls if the server is using chunked encoding when sending data, not how
client POST:s are handled.
Sincerely,
Jonas
"Luke Zhang [MSFT]" wrote:
> Hello,
>
> For IIS 6.0 default insatllation, we need run a script command to enable
> chunked transfer encoding:
>
> cscript adsutil.vbs set /W3SVC/AspEnableChunkedEncoding "TRUE"
>
> For detailed information on this, you may refer to:
>
> http://support.microsoft.com/kb/278998
>
> Sincerely,
>
> Luke Zhang
>
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
Re: Chunked client POST support in ASP
am 06.02.2007 14:52:17 von Anthony Jones
"Luke Zhang [MSFT]" wrote in message
news:LUhUXXZSHHA.2268@TK2MSFTNGHUB02.phx.gbl...
> Hello,
>
> For IIS 6.0 default insatllation, we need run a script command to enable
> chunked transfer encoding:
>
> cscript adsutil.vbs set /W3SVC/AspEnableChunkedEncoding "TRUE"
>
> For detailed information on this, you may refer to:
>
> http://support.microsoft.com/kb/278998
>
> Sincerely,
>
> Luke Zhang
>
Does this setting really apply to POSTs from a client? The text of the
article seems to discuss the transfer of output to the client.
RE: Chunked client POST support in ASP
am 07.02.2007 08:52:25 von lukezhan
Hello,
can you share some idea on how you submit the data from client? I may test
this on my side to see what had happened.
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: Chunked client POST support in ASP
am 07.02.2007 10:24:00 von jeron
Hi Luke!
The actual client that are causing problems is a Microsoft BizTalk server,
but for tests I use the command line client "curl", http://curl.haxx.se
With curl you can remove the "Content-length" header and add the
"Transfer-encoding: chunked" header, and send a file containing
chunked-encoded data according to the HTTP 1.1 spec.
For example, the string "abcdefghijklmnopqrstuvwxyz1234567890abcdef" could
be encoded like this:
1a
abcdefghijklmnopqrstuvwxyz
10
1234567890abcdef
0
"Luke Zhang [MSFT]" wrote:
> Hello,
>
> can you share some idea on how you submit the data from client? I may test
> this on my side to see what had happened.
>
> Sincerely,
>
> Luke Zhang
>
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
RE: Chunked client POST support in ASP
am 09.02.2007 07:44:44 von lukezhan
Hello,
Would you please let me know which version of curl you download and the
exact syntax you used? I may test it on my site to see I can get same
result.
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: Chunked client POST support in ASP
am 12.02.2007 20:16:01 von jeron
Hi Luke!
I'm using curl version 7.16.0 (Win32)
The command line looks like this (the data file with the encoded data is
named chunk.txt)
curl -H "Content-length" -H "Transfer-encoding: chunked" --data-binary
@chunk.txt http://localhost/test.asp
/Jonas
"Luke Zhang [MSFT]" wrote:
> Hello,
>
> Would you please let me know which version of curl you download and the
> exact syntax you used? I may test it on my site to see I can get same
> result.
>
> Sincerely,
>
> Luke Zhang
>
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
RE: Chunked client POST support in ASP
am 14.02.2007 12:25:37 von lukezhan
Hello,
Thank you for the information. I download it from their web site and test
with an ASP page, it actually return -1. I also test it with an ASP.NET
page, it returns correct bytes length. Not sure if this is an issue of curl
or asp.
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: Chunked client POST support in ASP
am 14.02.2007 13:24:07 von jeron
Hello,
Good that you're able to reproduce the behaviour. As I wrote before, the
real problem is caused by a MS BizTalk server that is posting chunked data to
the IIS. This makes me pretty sure that this has nothing to do with curl,
it's an issue with ASP.
"Luke Zhang [MSFT]" wrote:
> Hello,
>
> Thank you for the information. I download it from their web site and test
> with an ASP page, it actually return -1. I also test it with an ASP.NET
> page, it returns correct bytes length. Not sure if this is an issue of curl
> or asp.
>
> Sincerely,
>
> Luke Zhang
>
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
RE: Chunked client POST support in ASP
am 16.02.2007 06:55:13 von lukezhan
Hello,
Is it possible for you to consider upgradte to ASP.NET? ASP has been out of
support boundary and I think there may not be a fix for this issue in a
short time. BizTalk is .NET based, so you may also consider the web server
side also .NET based.
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: Chunked client POST support in ASP
am 16.02.2007 12:21:10 von jeron
It´s an option to use ASP.NET. What I'm seeking is some official information
about what is supported in ASP and what is not, so that I can pass correct
information to my customers. The information in the IIS 6.0 release notes
gave me the impression that "chunked POST" support had been added as a new
feature, but if I understand you right it's now confirmed not to work
correctly?
/Jonas
"Luke Zhang [MSFT]" wrote:
> Hello,
>
> Is it possible for you to consider upgradte to ASP.NET? ASP has been out of
> support boundary and I think there may not be a fix for this issue in a
> short time. BizTalk is .NET based, so you may also consider the web server
> side also .NET based.
>
> Sincerely,
>
> Luke Zhang
>
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
RE: Chunked client POST support in ASP
am 19.02.2007 10:33:36 von lukezhan
Hello,
I think the issue is TotalBytes in ASP doesn't return correct value, and
this may be a problem of ASP filter. (This can be get around by ASP .NET
).The "chunked POST" is still supported by IIS 6.
Sincerely,
Luke Zhang
Microsoft Online Community Support
This posting is provided "AS IS" with no warranties, and confers no rights.