Allow body in GET requests.
GitOrigin-RevId: 3aca646ed271f1f1d4188dc1cde6c1044e03954b
This commit is contained in:
parent
ee87b75e01
commit
08620ba1b7
@ -83,7 +83,7 @@ Result<size_t> HttpReader::read_next(HttpQuery *query) {
|
||||
if (result.is_error() || result.ok() != 0) {
|
||||
return result;
|
||||
}
|
||||
if (query_->type_ == HttpQuery::Type::GET) {
|
||||
if (transfer_encoding_.empty() && content_length_ == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user