RESOStandards / RESO-WebAPI-Client-PHP

RESO Web API Open Source Reference Client written in PHP
Other
4 stars 2 forks source link

Updated Request to add gzip compression for MLS Grid requirements #16

Open adamcolon opened 7 months ago

adamcolon commented 7 months ago

Description of the Change

MLS Grid requires gzip compression to function. This adds the header parameter and decodes the response.

Per MLS Grid coumentation: "All responses from our API are compressed. Your API client must send all requests with the header Accept Encoding:gzip,deflate"

Benefits

Adds gzip compression

Possible Drawbacks

Should be fine.

Verification Process

Maybe test with other data providers.

Applicable Issues