473,789 Members | 2,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

chunked post to ASP page

Hello,

I am sorry but I am not ASP developer, anyhow I have problems
communicating with ASP pages so I am trying to help the developer of
the page.
The problem is with posting chunked data. According to HTTP 1.1
Content-Length header is missing so Request.TotalBy tes is -1.

The only idea I have is that we should use Request.ReadBin ary till end
of the stream is reached?

Has anybody managed to get ASP working with chunked data properly?

Thanks in advance!

Oct 20 '07 #1
2 3397

<le******@gmail .comwrote in message
news:11******** **************@ e9g2000prf.goog legroups.com...
Hello,

I am sorry but I am not ASP developer, anyhow I have problems
communicating with ASP pages so I am trying to help the developer of
the page.
The problem is with posting chunked data. According to HTTP 1.1
Content-Length header is missing so Request.TotalBy tes is -1.

The only idea I have is that we should use Request.ReadBin ary till end
of the stream is reached?
That would seem to be a sensible strategy. What type of data are you
posting?

--
Anthony Jones - MVP ASP/ASP.NET
Oct 20 '07 #2
On Oct 20, 1:44 pm, "Anthony Jones" <A...@yadayaday ada.comwrote:
<letis...@gmail .comwrote in message

news:11******** **************@ e9g2000prf.goog legroups.com...
Hello,
I am sorry but I am not ASP developer, anyhow I have problems
communicating with ASP pages so I am trying to help the developer of
the page.
The problem is with posting chunked data. According to HTTP 1.1
Content-Length header is missing so Request.TotalBy tes is -1.
The only idea I have is that we should use Request.ReadBin ary till end
of the stream is reached?

That would seem to be a sensible strategy. What type of data are you
posting?

--
Anthony Jones - MVP ASP/ASP.NET
Hi Anthony,

It didn't worked, but this is according to the other side :)

I am setting new box to tets myself, then I hope you could help much
more as it will be me cotroling everything.

Thanks:
stm

Oct 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
16822
by: jonathan.kleid | last post by:
I'm trying to figure out how to enable chunked encoding with php over apache2 for a particular page. My php/apache combination definitely supports chunked encoding, because a page which calls only phpinfo() uses it. On the other hand, pages without phpinfo() don't get sent with chunked encoding (content-length is used instead). Does anyone know how to specifically enable chunked encoding for a given page? Thanks, Jon
0
1714
by: d21mike | last post by:
When I get the following input stream of chunked data I ge Request.TotalBytes = -1 because there is not Content-Length. The following will work because I hardcoded the correct length: TotalBytes = 16 strBRequest = Request.BinaryRead(TotalBytes) I get: 16 bytes of data (see below) However, if I don't know the length and try to use something > 16 li 100 then I get at error and the TotalBytes is set to 16 and th
4
12692
by: Jacek | last post by:
Hi! My app does quite a bit of work downloading large chunks of data from different web servers. One of problems I face is to provide approximate progress reports to users showing download progress. While task is trivial when web servers set Content-Length header in response its getting to be really hard when server uses chunked encoding. The only way according to HTTP 1.1 RFC 2616 to get info on total size of the chunked message is to...
2
5773
by: Eric | last post by:
Hi, I have a .NET client and Java web service. I send an request and the answer with a correct SOAP message. But on the .NET client I get an exeption from the XML deserializer that he has found characters which he doesn't understand. When I look at the respond (via network monitor), I see that the message was
0
1440
by: philip20060308 | last post by:
Hi all, Has anyone ever seen Python 2.4.1's httplib choke when reading chunked content? I'm using it via urrlib2, and I ran into a particular server that returns something that httplib doesn't expect. Specifically, in the code below where the error occurs, line == ''. Python 2.4.1 (#2, Oct 12 2005, 01:36:32) 20050518] on freebsd6 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2
2
7403
by: lazypig06 | last post by:
Hi ! Yesterday, I posted a topic regarding to XML problem that I've been having. The old topic can be found at: http://groups.google.com/group/comp.lang.php/browse_thread/thread/401e2b5cb251c21/8a0eeb03626018f4?lnk=st&q=lazypig06%40gmail.com&rnum=1&hl=en#8a0eeb03626018f4 Thanks to Álvaro G. Vicario for pointing out "chunked" transfer thing. Anyway, I tried to avoid "chunked" transfer in HTTP protocol. I have looked at...
3
5978
by: jdvolz | last post by:
I am having errors which appear to be linked to a previous bug in urllib2 (and urllib) for v2.4 and v2.5 of Python. Has this been fixed? Has anyone established a standard workaround? I keep finding old posts about it, that basically give up and say "well it's a known bug." Any help would be greatly appreciated.
12
2748
by: =?Utf-8?B?Sm9uYXMgRXJpY3Nzb24=?= | last post by:
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
2
5866
by: VeeraLakshmi | last post by:
Can anybody tell me how to get or read the value of transfer encoding. I got the HTTP Response header as "Transfer-Encoding: chunked".But i can't get the chunk size or the chunked data. Without getting those details i cant read the content of the site.If Content-Length is in the HTTP header,i can read upto that length.But in this Transfer-Encoding case,i cant know any other details except the value "chunked".So suggest me to read the content...
0
10195
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6765
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3695
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.