Skip to content

Commit

Permalink
Reinstating RFC link in response_headers doc (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendbennett committed May 23, 2022
1 parent b9cdf49 commit df21f79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ data "http" "example" {

- `body` (String) The response body returned as a string.
- `id` (String) The ID of this resource.
- `response_headers` (Map of String) A map of response header field names and values.
- `response_headers` (Map of String) A map of response header field names and values. Duplicate headers are concatenated with according to [RFC2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2).


7 changes: 4 additions & 3 deletions internal/provider/data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ your control should be treated as untrustworthy.`,
},

"response_headers": {
Description: "A map of response header field names and values.",
Type: schema.TypeMap,
Computed: true,
Description: `A map of response header field names and values.` +
` Duplicate headers are concatenated with according to [RFC2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2).`,
Type: schema.TypeMap,
Computed: true,
Elem: &schema.Schema{
Type: schema.TypeString,
},
Expand Down

0 comments on commit df21f79

Please sign in to comment.