HttpRequest Stream

Discussion in 'ASP .Net' started by Matt, Sep 9, 2004.

  1. Matt

    Matt Guest

    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
     
    Matt, Sep 9, 2004
    #1
    1. Advertisements

  2. Matt

    Joerg Jooss Guest

    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
     
    Joerg Jooss, Sep 9, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rasmusson, Lars
    Replies:
    1
    Views:
    968
    popov
    Apr 30, 2004
  2. Replies:
    9
    Views:
    917
    Alex Buell
    Apr 27, 2006
  3. Alexander Korsunsky

    get stream mode flags from an opened stream

    Alexander Korsunsky, Feb 17, 2007, in forum: C++
    Replies:
    1
    Views:
    641
    John Harrison
    Feb 17, 2007
  4. dolphin
    Replies:
    6
    Views:
    761
    Thomas Fritsch
    Mar 18, 2007
  5. mrstephengross
    Replies:
    3
    Views:
    574
    James Kanze
    May 10, 2007
  6. Kashif Ur Rehman
    Replies:
    2
    Views:
    1,049
    Tom Hawtin
    May 17, 2007
  7. Anand Hariharan

    Why no diagnostic for stream << stream?

    Anand Hariharan, Mar 17, 2009, in forum: C++
    Replies:
    2
    Views:
    377
    Anand Hariharan
    Mar 18, 2009
  8. Roedy Green

    byte stream vs char stream buffer

    Roedy Green, May 7, 2014, in forum: Java
    Replies:
    20
    Views:
    729
    Silvio
    May 18, 2014
Loading...