local or not.
svn path=/trunk/mcs/; revision=21950
+2004-01-11 Jackson Harper <jackson@ximian.com>
+
+ * HttpRequest.cs: Add property for determining if the request is
+ local or not.
+
2004-01-10 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Handle tracing when it is enabled in the config
\r
return baseVirtualDir;\r
}\r
- }\r
- \r
+ }
+
+ internal bool IsLocal {
+ get {
+ return _WorkerRequest.GetLocalAddress () == "127.0.0.1";
+ }
+ }
+
public byte [] BinaryRead(int count) {\r
int iSize = TotalBytes;\r
if (iSize == 0) {\r