Project

Profile

Help

Issue #322

closed

_href is wrong in consumer profile response body

Added by ipanova@redhat.com about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X POST -k -u admin:admin -d '{"content_type":"rpm", "profile":[]}' "https://localhost/pulp/api/v2/consumers/c1/profiles/"
HTTP/1.1 201 Created
Date: Thu, 26 Feb 2015 12:03:18 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Location: /pulp/api/v2/consumers/c1/profiles/c1/rpm/
Content-Length: 310
Content-Type: application/json

{"profile": [], "_href": "/pulp/api/v2/consumers/c1/profiles/c1/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", "consumer_id": "c1", "content_type": "rpm", "_id": {"$oid": "54ef050845ef48674c3f5f50"}, "id": "54ef050845ef48674c3f5f50"}


Related issues

Is duplicate of Pulp - Issue #466: Wrong _href in the response body of consumer profile creationCLOSED - CURRENTRELEASEipanova@redhat.comActions

Also available in: Atom PDF