WSGI by HTTP GET

Niklasro niklasro at gmail.com
Sat Oct 2 21:15:17 EDT 2010


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



More information about the Python-list mailing list