Skip to content

Commit

Permalink
Revert "add content type property (#227)"
Browse files Browse the repository at this point in the history
This reverts commit 66cfaf8.
  • Loading branch information
RomanGaignault authored Nov 7, 2024
1 parent 66cfaf8 commit e4d327c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
4 changes: 0 additions & 4 deletions lib/cjs/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,10 +651,6 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties
* Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2')
*/
readonly protocol?: string;
/**
* Content type of the fetched resource
*/
readonly content_type?: string;
/**
* The provider for this resource
*/
Expand Down
4 changes: 0 additions & 4 deletions lib/esm/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,10 +651,6 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties
* Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2')
*/
readonly protocol?: string;
/**
* Content type of the fetched resource
*/
readonly content_type?: string;
/**
* The provider for this resource
*/
Expand Down
3 changes: 1 addition & 2 deletions samples/rum-events/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"duration": 157090000,
"start": 88945000
},
"protocol": "HTTP/1.1",
"content_type": "application/json"
"protocol": "HTTP/1.1"
},
"action": {
"id": "ae3a5d82-cdd1-468d-9bc9-3aa9e54d953c"
Expand Down
5 changes: 0 additions & 5 deletions schemas/rum/resource-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@
"description": "Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2')",
"readOnly": true
},
"content_type": {
"type": "string",
"description": "Content type of the fetched resource",
"readOnly": true
},
"provider": {
"type": "object",
"description": "The provider for this resource",
Expand Down

0 comments on commit e4d327c

Please sign in to comment.