Re: WSGI by HTTP GET

2010-10-03 Thread John Nagle
On 10/2/2010 6:15 PM, Niklasro wrote: Hello Getting a web same page with 2 or more possible "states" eg business part, private part or all parts, can you recommend a way to represent the states via HTTP GET? Feasible way could be ?business=business, ? type=business, ?business=true or others. Shou

Re: WSGI by HTTP GET

2010-10-03 Thread Niklas R
On Oct 3, 3:05 am, MRAB wrote: > On 03/10/2010 03:29, Hidura wrote:> 2010/10/2, Niklasro: > >> Hello > >> Getting a web same page with 2 or more possible "states" eg business > >> part, private part or all parts, can you recommend a way to represent > >> the states via HTTP GET? Feasible way could

Re: WSGI by HTTP GET

2010-10-02 Thread MRAB
On 03/10/2010 03:29, Hidura wrote: 2010/10/2, Niklasro: Hello Getting a web same page with 2 or more possible "states" eg business part, private part or all parts, can you recommend a way to represent the states via HTTP GET? Feasible way could be ?business=business, ? type=business, ?business=t

Re: WSGI by HTTP GET

2010-10-02 Thread Hidura
Be more specific but i recommend you, use a way in what you be very explicit eg:part='bussiness' a bool for 3 options it's very diffcult to handle. 2010/10/2, Niklasro : > Hello > Getting a web same page with 2 or more possible "states" eg business > part, private part or all parts, can you recomm

WSGI by HTTP GET

2010-10-02 Thread Niklasro
Hello Getting a web same page with 2 or more possible "states" eg business part, private part or all parts, can you recommend a way to represent the states via HTTP GET? Feasible way could be ?business=business, ? type=business, ?business=true or others. Should I minimize casting the variable? Whic