473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

HttpRequest Stream

Does anyone know how to get the whole request stream when data is posted to
a web page? I need the HTTP Headers as well in the InputStream when
receiving the data into my web page. I know I can get the HTTP headers from
the collection but I would like to get the stream as a single item.

Thanks,

Matt
Nov 18 '05 #1
1 2102
Matt wrote:
Does anyone know how to get the whole request stream when data is
posted to a web page? I need the HTTP Headers as well in the
InputStream when receiving the data into my web page. I know I can
get the HTTP headers from the collection but I would like to get the
stream as a single item.


Use HttpRequest.InputStream, but this only lets you read the request's body,
not the complete HTTP message.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #2

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

Similar topics

1
by: James | last post by:
Hi, I am new to .NET framework. I am trying to get data from the third party web application using WebHTTPRequest and Response class. I am getting TimeOut exception at GetResponse Method.. ...
4
by: Daniel Rimmelzwaan | last post by:
I am having trouble getting the XML out of an HttpRequest object. I am sending the XML from biztalk into my aspx page, after which I want to take the XML out of it and process it using a...
0
by: Tim Mavers | last post by:
I have built a web app where I need to parse the entire http page before it is returned to the client. Basically I am running a RegEx replace on it which looks for any predefined macros and...
1
by: samtilden | last post by:
I want to print out some tracing messages from Global.asax.cs/Application_BeginRequest(). I easily got: System.Web.HttpContext.Current.Request.RawUrl, and...
4
by: objectref | last post by:
Hi, does anybody have found a working solution for this HttpRequest error : "ServerProtocolViolation/The server committed a protocol violation. Section=ResponseStatusLine" i tried the...
14
by: Anthony Sullivan | last post by:
I'm working on a quick and dirty little app that will go out to a website and scrape an xml response. So far its working fine with one exception. The xml response has an xsl stylesheet tag at...
0
by: raheel javed | last post by:
i am using mobile for communication with live server when mobile send its information to server the input stream is encoded in utf-8 that is converted into string but it is still not...
1
by: Jeff | last post by:
ASP.NET 2.0 I'm about to program a HttpRequest from my asp.net 2.0 website. I'll request another server using HttpRequest and ask if password etc are okay.... So I've looked into the...
4
by: Spam Catcher | last post by:
If I call HTTPRequest.ReadBinary twice... how come the second time it an empty string? Do I need to reset the input stream? Thanks.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.