conductor-sdk / conductor-python

Conductor OSS SDK for Python programming language
Apache License 2.0
62 stars 29 forks source link

Add `gzip` encoding for HTTP requests #82

Closed gardusig closed 2 years ago

gardusig commented 2 years ago

Accept-Encoding: gzip

gardusig commented 2 years ago

Reference: https://github.dev/conductor-sdk/conductor-go/blob/main/sdk/settings/http_settings.go#L29

gardusig commented 2 years ago

Using api/metadata/taskdefs to fetch all task defs with header: "Accept-Encoding: gzip". Curl example:

curl -X GET "https://pg-staging.orkesconductor.com/api/metadata/taskdefs?access=READ" -H  "accept: */*" -H  "X-Authorization: token" -H "Accept-Encoding: gzip" --output -