Re: HTTPWebrequest HTTP\1.1 100 Continue
From: Falkon (Falkon_at_discussions.microsoft.com)
Date: 09/06/04
- Next message: Arne Janning: "Re: I need help to read/write ini files"
- Previous message: Craig HB: "How to launch a windows app"
- In reply to: cguthri_mc: "Re: HTTPWebrequest HTTP\1.1 100 Continue"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 6 Sep 2004 13:37:04 -0700
Thanks for all the great feedback, my code is working now!
"cguthri_mc" wrote:
> I just tried this and it works! What you need to do in modify the .config
> file for your program, which resides in the same folder as your executable,
> it should be named exactly the same as the executable except you add
> ".config" at the end. So, if your executable was named:
>
> funkyfresh.exe
>
> the config file would be named:
>
> funkyfresh.exe.config
>
> If it does not exist you can create it via a text editor or you can do
> this programmatically via the System.Configuration object.
>
>
> "Falkon" wrote:
>
> >
> > Thanks for all the feedback!
> >
> > I don't see how to modify the useUnsafeHeaderParsing propery in my VB.Net
> > code which uses httpwebrequest to perform these automatic uploads. If this is
> > the correct solution I would greatly appreciate an example of the syntax in
> > VB.net to modify it.
> >
> >
> > <configuration>
> > <system.net>
> > <settings>
> > <httpWebRequest useUnsafeHeaderParsing=”true” />
> > </settings>
> > </system.net>
> > </configuration>
> >
> >
> > "Jerry Pisk" wrote:
> >
> > > Except that article doesn't apply, the response here is perfectly valid
> > > according to HTTP specs. It seems that Microsoft once again screwed up and
> > > overzealously rejects something that is valid.
> > >
> > > Jerry
> > >
> > > "Jochen Kalmbach" <nospam-Jochen.Kalmbach@holzma.de> wrote in message
> > > news:Xns955BD8F27451EnospamJochenKalmbach@207.46.248.16...
> > > > =?Utf-8?B?Y2d1dGhyaV9tYw==?= wrote:
> > > >
> > > >> I already tried that before to no avail. I did this by setting the
> > > >> ProtocolVersion property of the HttpWebRequest object:
> > > >>
> > > >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/
> > > >> html/frlrfSystemNetHttpWebResponseClassProtocolVersionTopic.asp
> > > >
> > > >
> > > > Here is a good explaination what has changed and how to disable it:
> > > >
> > > > HTTP response split attacks, HttpWebRequest and the NET Framework 1.1 SP1
> > > > http://blogs.msdn.com/gzunino/archive/2004/09/05/225881.aspx
> > > >
> > > > --
> > > > Greetings
> > > > Jochen
> > > >
> > > > My blog about Win32 and .NET
> > > > http://blog.kalmbachnet.de/
> > >
> > >
> > >
- Next message: Arne Janning: "Re: I need help to read/write ini files"
- Previous message: Craig HB: "How to launch a windows app"
- In reply to: cguthri_mc: "Re: HTTPWebrequest HTTP\1.1 100 Continue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|