This project is read-only.

Querystring and Lite version

Aug 3, 2009 at 4:49 PM

I seem to have some problem getting the querystring from a request.

I start the server with:

_listener = HttpServer.HttpListener.Create(new LogWriter(), IPAddress.Any, _Port);
_listener.RequestReceived += new EventHandler<HttpServer.RequestEventArgs>(_listener_RequestReceived);

However, in HttpServer.RequestEventArgs the querystring property is empty (not null, there's just no values in it).

I've stepped through the code and it reads the querystring correctly but somewhere along the line before the event is executed the querystring seems to clear.

Any ideas?

Aug 18, 2009 at 7:41 AM

RequestReceived event doesn't work properly in the lite version. Only AddHandler() is functional. The lite version is in the process of being phased out, since all of the important features and bugfixes in it have been backported to trunk.