Project

General

Profile

Bug #28219

repositories controller responds with 200 instead of 201 to a POST request

Added by Swetha Seelam Lakshmi Narayanan 5 months ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

HTTP POST request to katello/api/v2/repositories with data {"content_type": "yum", "url": "http://inecas.fedorapeople.org/fakerepos/zoo2/", "name": "yvsIKReFpc", "product_id": 1048} results in a response code of 200 instead of 201.

Associated revisions

Revision 1ff94c3a (diff)
Added by Swetha Seelam Lakshmi Narayanan 5 months ago

Fixes #28219 - setting 201 as res code for create req

History

#1 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8421 added

#2 Updated by Swetha Seelam Lakshmi Narayanan 5 months ago

  • Bugzilla link set to 1645749

#3 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases Katello 3.15.0 added

#4 Updated by Swetha Seelam Lakshmi Narayanan 5 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jonathon Turel 5 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.15.0

#6 Updated by Jonathon Turel 29 days ago

  • Category changed from API to Repositories

Also available in: Atom PDF