Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-18740

Akamai sets Content-Type of egg to text/plain

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • Platform-Infra Sprint 43, Platform-Infra Sprint 44
    • Moderate

      When responding to an HTTP request for the egg, the response Content-Type is set to "text/plain". The egg is binary (a ZIP archive, specifically) so it should definitely not be text/plain. Could this be fixed to serve the egg as Content-Type: application/zip?

      [link@rhel-8-dev Projects]$ sudo curl -I --cacert /etc/insights-client/cert-api.access.redhat.com.pem --cert /etc/pki/consumer/cert.pem --key /etc/pki/consumer/key.pem https://cert-api.access.redhat.com/r/insights/v1/static/release/insights-core.egg
      HTTP/1.1 200 OK
      Accept-Ranges: bytes
      Content-Type: text/plain

      Useful info of setting the content-type: https://techdocs.akamai.com/adaptive-media-delivery/docs/manage-content-type

              caswilli-insights Casey Williams
              ldupont@redhat.com Link Dupont
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: