Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions webcc/message.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ class Message {
return !headers_.Get(key).empty();
}

Headers GetHeaders() const {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest to change to:

const Headers& headers() const {
  return headers_;
}

This is more Google C++ Style.

return headers_;
}

std::size_t content_length() const {
return content_length_;
}
Expand Down