Currently the 401 from the store looks like this (no nice error payload):
HTTP/1.1 401 UNAUTHORIZED\r\nContent-Length: 106\r\nContent-Type: application/json\r\nDate: Wed, 19 Dec 2018 21:20:30 GMT\r\nServer: gunicorn/19.7.1\r\nSnap-Store-Version: 10\r\nX-Request-Id: 0AAC4142D0480A325CA101BB5C1AB61E1F83314\r\nX-Vcs-Revision: whatever\r\nX-View-Name: snapdevicegw.webapi_download.snap_download\r\n\r\n
Currently the 401 from the store looks like this (no nice error payload):
HTTP/1.1 401 UNAUTHORIZED\ r\nContent- Length: 106\r\nContent- Type: application/ json\r\ nDate: Wed, 19 Dec 2018 21:20:30 GMT\r\nServer: gunicorn/ 19.7.1\ r\nSnap- Store-Version: 10\r\nX-Request-Id: 0AAC4142D0480A3 25CA101BB5C1AB6 1E1F83314\ r\nX-Vcs- Revision: whatever\ r\nX-View- Name: snapdevicegw. webapi_ download. snap_download\ r\n\r\n