<div>Can i inherit the twisted.web.http.Request.requestReceived ??</div><div><br></div><div>In the comment, said that "This method is not intended for users".</div><div>I has inherited the rawDataReceived and it like this:</div><div><br></div><div><div>def rawDataReceived(self, data):</div><div>&nbsp; &nbsp; &nbsp; &nbsp; self.resetTimeout()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if len(data) &lt; self.length:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.requests[-1].content.send(data)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.length = self.length - len(data)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.requests[-1].content.send(data[:self.length])</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self._finishRequestBody(data[self.length:])</div></div><div><br></div><div>the "self.requests[-1].content.send(data)" will send the data in another http connection. In fact, i use the httplib here.</div><div>All goes well, but it doesn't work at the last step in allContentReceived. And it's req.requestReceived(command, path, version).</div><div><br></div><div>So can i inherit this method requestReceived. Or where is it go wrong?&nbsp;</div><div><br></div><div>my code is in the accessory</div>