Re: POSTing to /select

2009-06-17 Thread Brian_K
I did not have the content type set appropriately, to application/x-www-form-urlencoded. :wistle: Erik Hatcher wrote: > > > On Jun 17, 2009, at 12:01 PM, Brian_K wrote: > >> >> Is it possible to query /select using http POST rather than GET? Is >> the >> syntax different it so? >> >> Whe

Re: POSTing to /select

2009-06-17 Thread Walter Underwood
On the other hand, POST is the wrong HTTP semantic for a search request and makes it impossible to use HTTP caching. POST also makes all your requests look identical in the HTTP logs, so you can't do any log analysis. If GET works, always use GET. wunder On 6/17/09 9:18 AM, "Erik Hatcher" wrote

Re: POSTing to /select

2009-06-17 Thread Erik Hatcher
On Jun 17, 2009, at 12:01 PM, Brian_K wrote: Is it possible to query /select using http POST rather than GET? Is the syntax different it so? When I try, I receive an 500 response and a big fat exception. java.lang.NullPointerException at java.io.StringReader.(Unknown Source