<div class="gmail_quote">On Sun, Oct 4, 2009 at 9:09 PM, C. Titus Brown <span dir="ltr"><<a href="mailto:ctb@msu.edu">ctb@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun, Oct 04, 2009 at 08:57:01PM -0400, Jack Carlson wrote:<br>
> In the homework, we're told to "read and ignore any GET query strings".<br>
> I'm curious as to what this actually means--is reading the URL path and<br>
> then splitting on the '?' good enough? Or are we expected to fill some<br>
> sort of dictionary with key/value pairs from the query string?<br>
<br>
</div>Just split on the '?' and ignore what comes after. Next homework will involve<br>
using the urlparse module, but that's next HW.<br>
<br>
--titus<br>
<font color="#888888">--<br>
C. Titus Brown, <a href="mailto:ctb@msu.edu">ctb@msu.edu</a></font> </blockquote><div><br>The GET query string is included in the URL. Should we include it in the output with the rest of the URL?<br><br>e.g., "hello, /index.php?name=Joe&otherstuff=yes" or "hello, /index.php"<br>
<br>--Joe<br></div></div>