Skip to content

Commit 1f7a165

Browse files
Document case-insensitive baseURL protocol matching
Co-authored-by: Eric Allam <eric@trigger.dev>
1 parent b9eb04c commit 1f7a165

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/tasks/streams.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ are normalized consistently, surrounding whitespace is trimmed before normalizat
658658
the resulting value must not be empty. The value must also be a valid absolute URL using
659659
the `http` or `https` protocol, without query parameters, hash fragments, or embedded
660660
username/password credentials.
661+
Protocol matching is case-insensitive (`HTTP://...` and `HTTPS://...` are accepted).
661662

662663
Examples:
663664

packages/ai/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626
- Added explicit validation that `baseURL` uses `http` or `https`.
2727
- Added explicit validation that `baseURL` excludes query parameters and hash fragments.
2828
- Added explicit validation that `baseURL` excludes username/password credentials.
29+
- Documented that `HTTP://` and `HTTPS://` are accepted (case-insensitive protocol matching).

packages/ai/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ both cleanup steps (`set` inactive state and `delete`) even if one of them fails
165165
- `baseURL` must use the `http` or `https` protocol.
166166
- `baseURL` must not include query parameters or hash fragments.
167167
- `baseURL` must not include username/password URL credentials.
168+
- Protocol matching is case-insensitive (`HTTP://...` and `HTTPS://...` are accepted).
168169

169170
Examples:
170171

0 commit comments

Comments
 (0)