Project

General

Profile

Actions

Bug #20168

closed

Katello Gpg Key Content-Type

Added by Mike Cavalieri over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

When you open a gpg key using a browser such as Firefox using https://hostname/katello/api/v2/repositories/ID/gpg_key_content the browser interprets the response as json.

Version-Release number of selected component (if applicable):
Katello 3.3.2

How reproducible:
Always

Steps to Reproduce:
Browse to the gpg key of a repository https://hostname/katello/api/v2/repositories/1234/gpg_key_content

Actual results:
Text with a content type of application/json.

Expected results:
Text with a content type of text/html.

Additional info:
You are able to view the gpg key using curl correctly.

Actions

Also available in: Atom PDF