[ZBXNEXT-5224] Http agent doesn't parse other JSON-format Content-Types Created: 2019 May 15  Updated: 2019 May 16

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 4.2.1
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: James Howe Assignee: Zabbix Support Team
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As documented, the "Convert to JSON" option will only parse the body if the Content-Type is application/json. However, there are many other content types that use the JSON format, indicated by a +json suffix (just as +xml is used to indicate XML formats). For example, application/vnd.spring-boot.actuator.v2+json.

It would be very useful if the HTTP agent would also parse these bodies.



 Comments   
Comment by James Howe [ 2019 May 15 ]

Odd that I can move this issue, but can't edit it...

Comment by Glebs Ivanovskis [ 2019 May 16 ]

More information on the topic is RFC6839 and RFC6838 Section 4.2.8.

Generated at Thu Mar 28 17:36:43 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.