Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
chore(api): unexport applyNotice (#5647)
tomsideguided7f2057b6774
diff --git a/apps/api/src/lib/deprecations.ts b/apps/api/src/lib/deprecations.tsindex 0745eacbd..a349cc7af 100644--- a/apps/api/src/lib/deprecations.ts+++ b/apps/api/src/lib/deprecations.ts@@ -119,7 +119,7 @@ function quoteWarningText(s: string): string {}// Copies the body: the research controllers log the same object after responding.-export function applyNotice(res: Response, notice: Notice) {+function applyNotice(res: Response, notice: Notice) {if (notice.links?.length) res.setHeader("Link", notice.links.join(", "));// RFC 7234 Warning header, code 299 = "Miscellaneous Persistent Warning".res.setHeader("Warning", `299 - ${quoteWarningText(notice.message)}`);