Opened 14 years ago
Closed 14 years ago
#13786 closed (worksforme)
Test client PUT and DELETE do not include the GET query params
Reported by: | coulix | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Using DJango test client to test my piston API using Oauth two legged i realised that when passing ?xoauth_requestor_id=foo as a GET variable on PUT and DELETE action the request response did not include the variable in request.GET.
In the case of a PUT action request.GET and request.POST contanis the same POST data ... no trace of xoauth_requestor_id.
It works well on POST and GET
Note:
See TracTickets
for help on using tickets.
As far as I can make out, the test client is working correctly here. The following two calls:
both surface data in request GET; the same is also true for DELETE. This beahavior is also validated by the QueryStringTests regression tests inside test_client_regress.
Reopen if you can provide a specific test case that is failing.