Skip to content

Commit

Permalink
http headers comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dave.seddon committed Dec 17, 2023
1 parent c114aa0 commit da8e5f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/http/lib/src/base_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ abstract class BaseResponse {
/// If a header value contains whitespace then that whitespace may be replaced
/// by a single space. Leading and trailing whitespace in header values are
/// always removed.
///
/// Some headers may be excluded by the client for security or privacy
/// reasons. For example, browser-based clients can only return headers in the
/// CORS safelist or specifically allowed by the server.
///
// TODO(nweiz): make this a HttpHeaders object.
final Map<String, String> headers;

Expand Down

0 comments on commit da8e5f7

Please sign in to comment.