implement query string options for the testAuthenticate endpoint
Categories
(Taskcluster :: Services, enhancement, P4)
Tracking
(Not tracked)
People
(Reporter: jhford, Assigned: sudipt, Mentored)
Details
(Keywords: good-first-bug)
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
| Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
| Reporter | ||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 9•6 years ago
|
||
I would like on this bug ! Some pointers would be really helpful ! Thanks
Comment 10•6 years ago
|
||
John, can you provide some pointers to sudipt?
| Reporter | ||
Comment 11•6 years ago
|
||
Sure!
The method is located here:
The request object has query string parameters which are used similar to:
That request object is documented here:
https://expressjs.com/en/api.html#req
and here:
https://nodejs.org/api/http.html#http_class_http_incomingmessage
As for the goal of this bug, this endpoint is used to test API clients. I think being able to set a query string parameter (e.g. ?qs1=abcde) and have that echoed back as a response header verbatim (e.g. 'X-QS1: abcde') would be really helpful.
| Assignee | ||
Comment 12•6 years ago
|
||
Thanks a lot ! Will start working on this asap>
| Assignee | ||
Comment 13•6 years ago
|
||
Are the headers we are setting , somewhat related to the artifacts as given in
https://docs.taskcluster.net/docs/manual/tasks/artifacts
and setting HTTP entity , as described in
https://stackoverflow.com/questions/9197745/what-exactly-is-an-http-entity
| Assignee | ||
Updated•6 years ago
|
Comment 14•6 years ago
|
||
Per discussion in the PR, we're going to call this WONTFIX at this point.
Description
•