Re: user_agent (Was: Re: [PHP-CVS] cvs: php4 /ext/standard http_fopen_wrapper.c)

From: Date: Sun, 08 Sep 2002 10:19:52 +0000
Subject: Re: user_agent (Was: Re: [PHP-CVS] cvs: php4 /ext/standard http_fopen_wrapper.c)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-88066@lists.php.net to get a copy of this message
> On Sat, Sep 07, 2002 at 03:55:05PM -0000, Sterling Hughes wrote : > > sterling Sat Sep 7 11:55:05 2002 EDT > > > > Modified files: > > /php4/ext/standard http_fopen_wrapper.c > > Log: > > commit the correct/up-to-date version > > There is one thing left: > > Once you set the value for user_agent, you can't disable it > anymore. If you have assigned it a value once, the > User-Agent: header is always sent, even if you assign it an > empty string. > you can set the stream context value to NULL and I believe that should allow you to unset the User-Agent field. -Sterling

« previous php.dev (#88066) next »