WSGI by HTTP GET

Hidura hidura at gmail.com
Sun Oct 3 04:29:34 CEST 2010


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 <niklasro at gmail.com>:
> 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? Which type should I reason, boolen or string? I now use
> seemingly arbitrary ?t=w to represent a state which technically works
> leaving a more readable and maintainable solution to wish.
> Thanks
> Niklas
> --
> http://mail.python.org/mailman/listinfo/python-list
>

-- 
Enviado desde mi dispositivo móvil

Diego I. Hidalgo D.



More information about the Python-list mailing list