Skip to content

Commit

Permalink
Comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jun 17, 2023
1 parent 31a6cec commit 0983927
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Common/Net/HTTPClient.h
Expand Up @@ -105,7 +105,6 @@ enum class RequestMethod {
// Really an asynchronous request.
class Download {
public:
// postMime should often be "application/x-www-form-urlencoded";
Download(RequestMethod method, const std::string &url, const std::string &postData, const std::string &postMime, const Path &outfile);
~Download();

Expand Down Expand Up @@ -202,7 +201,7 @@ class Downloader {
std::shared_ptr<Download> AsyncPostWithCallback(
const std::string &url,
const std::string &postData,
const std::string &postMime, // Use postMime = "application/x-www-form-urlencoded" for standard form-style posts, such as used by retroachievements.
const std::string &postMime, // Use postMime = "application/x-www-form-urlencoded" for standard form-style posts, such as used by retroachievements. For encoding form data manually we have MultipartFormDataEncoder.
std::function<void(Download &)> callback);

// Drops finished downloads from the list.
Expand Down

0 comments on commit 0983927

Please sign in to comment.