keijack / python-eureka-client

A eureka client written in python. Support registering your python component to Eureka Server, as well as calling remote services by pulling the the Eureka registry.
MIT License
183 stars 43 forks source link

fix http 406 error due to missing header #73

Closed shouldsee closed 1 year ago

shouldsee commented 1 year ago

eureka return 406 at eureka/v2/apps if missing headers = {'Accept-Encoding':'gzip, deflate'}

tested against eureka 1.10.11

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication