| 631 | statusCode == 503 or statusCode == 504; |
| 632 | } |
| 633 | |
| 634 | static bool canReplayRequestBody(const SC::HttpClientRequestBody& body) |
| 635 | { |
| 636 | return not body.isStreamed() or body.canReplay; |
| 637 | } |
| 638 | |
| 639 | static char basicAuthorizationSourceByte(SC::Span<const char> username, SC::Span<const char> password, size_t index) |
| 640 | { |
| 641 | if (index < username.sizeInBytes()) |
| 642 | { |
| 643 | return username[index]; |