Django's Test Client strips out URL ;-parameters
|Reported by:||Andrew Godwin||Owned by:||Andrew Godwin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The parameters I'm referring to are the ones illustrated by this:
The test client code uses urlparse to get the path component, while the main URL routing includes them. Thus, if I submit the url
/works/23243/;include=artists via a normal HTTP connection, it works fine, but if I submit it via the test client, it gets truncated to
Ideally, the two should be consistent; I propose doing this by making the test client include the parameter part.