[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Taler] auth doesn't seem to have effect
From: |
Thien-Thi Nguyen |
Subject: |
[Taler] auth doesn't seem to have effect |
Date: |
Thu, 11 Feb 2021 18:38:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Please find attached a small session log:
Python 3.9.1+ (default, Jan 20 2021, 14:49:22)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> python.el: native completion setup loaded
>>> import requests
>>> requests.get("https://backend.demo.taler.net",
... headers={"Authorization": "ApiKey sandbox"})
<Response [200]>
>>> requests.get("https://backend.demo.taler.net", headers={"Authorization":
>>> "ApiKey sandboxx"})
<Response [200]>
>>> requests.get("https://backend.demo.taler.net", headers={"Authorization":
>>> "ApiKey xsandboxx"})
<Response [200]>
>>> requests.get("https://backend.demo.taler.net", headers={"none": "ApiKey
>>> xsandboxx"})
<Response [200]>
>>>
that seems to demonstrate that the auth headers are not taken
into account at all (the result is always response 200). That
seems to go against the documentation, which states that the
auth header must be {"Authorization": "ApiKey sandbox"} for
things to proceed normally. What am i missing?
--
Thien-Thi Nguyen -----------------------------------------------
(defun responsep (query) ; (2021) Software Libero
(pcase (context query) ; = Dissenso Etico
(`(technical ,ml) (correctp ml))
...)) 748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502
signature.asc
Description: PGP signature
- [Taler] auth doesn't seem to have effect,
Thien-Thi Nguyen <=