Commit 7be83b9
committed
Add API key validation, enhance
- Implemented UUID format validation for API keys.
- Enhanced the `/up` client methods to accept additional headers,
query parameters, and timeouts.
- Raised `PdfRestAuthenticationError` for authentication failures.
- Refactored request composition for improved reuse and readability.
- Updated tests to cover new validations and functionalities./up client methods1 parent da75861 commit 7be83b9
5 files changed
Lines changed: 423 additions & 114 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
27 | | - | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments