Re: SimpleHTTPServer by Ramin Soleymani
I want to extract the query parameters inside the DynamicResponseHandler, so I can return the appropriate data using the createContext method. The callback example shows how this is achieved in a callback function, with the parameters passed in a HashMap. But there is nothing in the documentation which shows how to get the parameters elsewhere. For example, given the uri http://localhost:8000/food?type=chocolate, I want to reply with the relevant data for 'chocolate' when returning a context for 'food'. Any help much appreciated.