Skip to content

PR for #336 add User-Agent and Accept-Encoding headers to all Probes - #342

Merged
justb4 merged 2 commits into
masterfrom
336-http-user-agent
Nov 2, 2020
Merged

PR for #336 add User-Agent and Accept-Encoding headers to all Probes#342
justb4 merged 2 commits into
masterfrom
336-http-user-agent

Conversation

@justb4

@justb4 justb4 commented Nov 2, 2020

Copy link
Copy Markdown
Member

See #336. Added two standard headers:

  • User-Agent including version, tested in access logs: like:
    ...[02/Nov/2020:13:43:40 +0000] "GET /master/collections/lakes/items... "GeoHealthCheck 0.8.dev1 (https://geohealthcheck.org)" ...
  • Accept-Encoding: deflate, gzip;q=1.0, *;q=0.5

Makes GHC Probe client more web-friendly to target Resources.

@justb4
justb4 requested a review from tomkralidis November 2, 2020 14:02
@justb4 justb4 self-assigned this Nov 2, 2020
@justb4 justb4 added this to the Version 0.8.1 milestone Nov 2, 2020
@justb4 justb4 linked an issue Nov 2, 2020 that may be closed by this pull request
@justb4

justb4 commented Nov 2, 2020

Copy link
Copy Markdown
Member Author

The CDN https://oss.maxcdn.com/ has problems at the moment. Will replace with other common CDN.

@justb4

justb4 commented Nov 2, 2020

Copy link
Copy Markdown
Member Author

https://www.stackpath.com/maxcdn/ MaxCDN is now StackPath and commercial (?). They seem to pull from jsdelivr anyway.

@justb4
justb4 merged commit 8262ac3 into master Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set User-Agent HTTP header on HTTP-requests from Probes

2 participants