2021-05-26 05:22:05 |
Lee Trager |
bug |
|
|
added bug |
2021-05-26 06:02:49 |
Lee Trager |
summary |
MAAS often fails and and returns a Picked object if request header is set to Accept: */* |
MAAS often fails and and returns a Pickled object if request header is set to Accept: */* |
|
2021-05-26 06:03:45 |
Lee Trager |
description |
A customer has asked me to help them with their MAAS client. While implementing a very simple client I have noticed that MAAS almost always rejects the first request. When it does work it returns a Python pickled object. This ended up being because I was using python-requests which sets the default accept header to "*/*". If I set the accept header to "application/json" or even an empty string the request works.
MAAS should always return JSON when accept is set to */* |
A customer has asked me to help them with their MAAS client. While implementing a very simple client I have noticed that MAAS almost always rejects the first request. When it does work it returns a Python pickled object. This ended up being because I was using python-requests which sets the default accept header to "*/*". If I set the accept header to "application/json" or even an empty string the request works.
MAAS should always return JSON when accept is set to '*/*', '*', '', or not defined. |
|
2021-05-26 10:34:41 |
Alberto Donato |
maas: status |
Triaged |
Incomplete |
|
2021-05-26 16:40:20 |
Lee Trager |
attachment added |
|
maas https://bugs.launchpad.net/maas/+bug/1929643/+attachment/5500536/+files/maas |
|
2021-05-26 16:40:28 |
Lee Trager |
maas: status |
Incomplete |
Triaged |
|
2021-05-26 16:41:25 |
Lee Trager |
attachment added |
|
maas https://bugs.launchpad.net/maas/+bug/1929643/+attachment/5500537/+files/maas |
|
2021-05-28 07:51:15 |
Alberto Donato |
maas: assignee |
|
Alberto Donato (ack) |
|
2021-05-28 07:51:17 |
Alberto Donato |
maas: status |
Triaged |
In Progress |
|
2021-05-28 07:51:19 |
Alberto Donato |
maas: importance |
High |
Medium |
|
2021-05-28 07:56:35 |
Alberto Donato |
nominated for series |
|
maas/3.0 |
|
2021-05-28 07:56:35 |
Alberto Donato |
bug task added |
|
maas/3.0 |
|
2021-05-28 07:56:40 |
Alberto Donato |
maas/3.0: milestone |
|
3.0.0-rc2 |
|
2021-05-28 07:56:43 |
Alberto Donato |
maas: milestone |
3.0.0-rc2 |
3.0.1 |
|
2021-05-28 07:56:45 |
Alberto Donato |
maas/3.0: assignee |
|
Alberto Donato (ack) |
|
2021-05-28 07:56:47 |
Alberto Donato |
maas/3.0: importance |
Undecided |
Medium |
|
2021-05-28 07:56:49 |
Alberto Donato |
maas/3.0: status |
New |
In Progress |
|
2021-05-28 08:00:30 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ack/maas/+git/maas/+merge/403440 |
|
2021-05-28 08:51:05 |
MAAS Lander |
maas: status |
In Progress |
Fix Committed |
|
2021-05-28 08:58:10 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ack/maas/+git/maas/+merge/403451 |
|
2021-05-28 09:01:45 |
Björn Tillenius |
maas: milestone |
3.0.1 |
|
|
2021-05-28 09:19:43 |
MAAS Lander |
maas/3.0: status |
In Progress |
Fix Committed |
|
2021-06-16 15:57:55 |
Björn Tillenius |
maas/3.0: status |
Fix Committed |
Fix Released |
|
2021-12-01 17:43:10 |
Adam Collard |
maas: milestone |
|
3.1.0 |
|
2021-12-01 17:44:12 |
Adam Collard |
maas: status |
Fix Committed |
Fix Released |
|