[Mono-devel-list] Re: HttpWebRequest - Where is prefix registration done?

Martin Hinks mhinks at gmail.com
Mon Jun 27 04:22:59 EDT 2005


Thanks Robert,

I ask because FX 2 has FtpWebRequest as a built in class - can I
propose a patch to the default Mono supplied machine.config?

Martin

On 6/27/05, Robert Jordan <robertj at gmx.net> wrote:
> Martin,
> 
> > Can anyone tell me where the prefix registration is done for
> > HttpWebRequest? FOr example, if I write a pluggable protocol using
> > WebRequest the user has to do WebRequest.RegisterPrefix("prefix:") -
> > but not for "http:" - where is this defined please?
> >
> 
> in $prefix/etc/$corversion/machine.config.
> 
> On my systems it is /usr/local/etc/mono/1.0/machine.config
> 
> But I'm pretty sure that you can put the settings in the app.config
> as well.
> 
> Rob
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Martin Hinks



More information about the Mono-devel-list mailing list