﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
269	HTTP-to-foolscap doesn't yield useful error	Brian Warner		"I made the Foolscap negotiation protocol look like HTTP for two reasons: to allow ordinary HTTP servers to act as redirectors, and to give a useful error message if you accidentally point a web browser at a Foolscap port.

It appears that the latter isn't happening, at least not any more. If I do a `curl` to a URL made up from HOST and PORT, I get zero bytes of output followed by a connection closed.

In `negotiate.py`, we get to `handlePLAINTEXTServer`, and hit the `if not url.startswith(""/id/""):` check, which then raises `BananaError`. However it looks like !BananaError at that point doesn't cause any text to be written back to the client.

So the task for this ticket is to make sure that *some* form of error message gets written, preferably one that says ""hey this is foolscap not http"".
"	defect	new	major	eventually	negotiation	0.12.3			
