New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http/httputil: add sort by quality #3594
Labels
Milestone
Comments
Comment 1 by raul.san@sent.com: Note: substitute variable "lang" by another name like "key". |
Agreed. There was a CL containing this awhile back that didn't make Go 1. We should probably add this at some point, either in http or httputil. Owner changed to @bradfitz. Status changed to Accepted. |
Comment 3 by raul.san@sent.com: I've added a file with a bug fixed, and returning the parameters with zero value too since the server could use it for statistic (which arguments want not the clients). Attachments:
|
Comment 4 by raul.san@sent.com: I've added a file with a bug fixed, and returning the parameters with zero value too since the server could use it for statistic (which arguments want not the clients). Attachments:
|
Comment 5 by raul.san@sent.com: I've added a file with a bug fixed, and returning the parameters with zero value too since the server could use it for statistic (which arguments want not the clients). Attachments:
|
I'm interested in working on this since I have some code that implements some of this already. The code I have currently returns not only the value but also its quality as a float. Do we want this? or just a sorted list of the values? It would mean you'd need a type instead of getting a []string, but on the other hand you don't need two return values because you could put the values with a 0 q in the same slice. |
gopherbot
added
accepted
Suggested
Issues that may be good for new contributors looking for work to do.
labels
Dec 4, 2013
There seems to be lack of interest to add this, and/or lack of need, so I'm going to close this for now. I'm happy to entertain a patch if anybody cares enough later. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
by raul.san@sent.com:
The text was updated successfully, but these errors were encountered: