aboutsummaryrefslogtreecommitdiff
path: root/src/device_registration_info.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2015-12-08 14:24:40 -0800
committerVitaly Buka <vitalybuka@google.com>2015-12-09 00:56:16 +0000
commit61820306dd6a61f5c824d9236f7d48d07167c515 (patch)
tree4712489f738fbff97529399a8d8d3300150f65ef /src/device_registration_info.h
parent666b43e92729fa170bc53eab9040a4dfe58b8062 (diff)
downloadlibweave-61820306dd6a61f5c824d9236f7d48d07167c515.tar.gz
Remove allow_response_without_content
Let's just assume that no content type means no body. BUG=25766813 Change-Id: I374f8769263e7772cc720826897b214e25f8f1d4 Reviewed-on: https://weave-review.googlesource.com/1827 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
Diffstat (limited to 'src/device_registration_info.h')
-rw-r--r--src/device_registration_info.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device_registration_info.h b/src/device_registration_info.h
index 5ba56a1..c196e0c 100644
--- a/src/device_registration_info.h
+++ b/src/device_registration_info.h
@@ -182,8 +182,6 @@ class DeviceRegistrationInfo : public NotificationDelegate,
provider::HttpClient::Method method;
std::string url;
std::string body;
- // Workaround for inconsistent APIs which returns no body.
- bool allow_response_without_content = false;
CloudRequestDoneCallback callback;
};
void SendCloudRequest(const std::shared_ptr<const CloudRequestData>& data);