Code:
on *:SOCKREAD:membership: {
  if ($sockerr) halt
  else {
    while ($sock($sockname).rq) {
      sockread &binvar
      bwrite membership.xml -1 -1 &binvar
    }
  }
}


Problem is that membership.xml also contains the reply headers

Quote:

HTTP/1.1 200 OK
Date: Fri, 11 Sep 2009 17:54:29 GMT
Server: Microsoft-IIS/6.0
P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
X-Powered-By: ASP.NET
X-MSNSERVER: BY2ABCHWB212
X-AspNet-Version: 2.0.50727
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 1340027
crlf here


how do i stop that from being written to the xml file?