# ASM working with xml compressed payloads

**URL:** <https://community.f5.com/t/asm-working-with-xml-compressed-payloads/69454>\
**Category:** Technical Forums\
**Tags:** asm, security, devops\
**Created:** [March 24, 2022, 7:41am UTC](https://community.f5.com/t/asm-working-with-xml-compressed-payloads/69454 "2022-03-24T07:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexS\_yb](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@AlexS\_yb](https://community.f5.com/u/AlexS_yb)\
**Post date:** [March 24, 2022, 7:41am UTC](https://community.f5.com/t/asm-working-with-xml-compressed-payloads/69454/1 "2022-03-24T07:41:56Z")

</div>

Hi

I have turned on ASM for one of our websites.&nbsp; It seems to be throwing illegal request for payloads that are

content-type&nbsp; - text/xml

content-encoding - gzip

which have null chars. The ASM say we are breaking XML.

But it looks to me like its not decompressing the data first before analysing as XML

---

<div class="post-metadata">

**Author:** ![Dario\_Garrido](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@Dario\_Garrido](https://community.f5.com/u/Dario_Garrido)\
**Post date:** [April 27, 2022, 8:30am UTC](https://community.f5.com/t/asm-working-with-xml-compressed-payloads/69454/2 "2022-04-27T08:30:58Z")

</div>

Hello Alex.

I recommend you to check this out

> **[myF5](https://my.f5.com/manage/s/article/K65342257)**
